Adjust esc_sql()'s @param documentation to reflect that it allows for arrays. props scribu, fixes #22573.
git-svn-id: http://core.svn.wordpress.org/trunk@24986 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
8211e6172a
commit
8ee6d136de
|
@ -2598,8 +2598,8 @@ function _deep_replace( $search, $subject ) {
|
||||||
* is preparing an array for use in an IN clause.
|
* is preparing an array for use in an IN clause.
|
||||||
*
|
*
|
||||||
* @since 2.8.0
|
* @since 2.8.0
|
||||||
* @param string $data Unescaped data
|
* @param string|array $data Unescaped data
|
||||||
* @return string Escaped data
|
* @return string|array Escaped data
|
||||||
*/
|
*/
|
||||||
function esc_sql( $data ) {
|
function esc_sql( $data ) {
|
||||||
global $wpdb;
|
global $wpdb;
|
||||||
|
|
Loading…
Reference in New Issue