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:
Andrew Nacin 2013-08-05 22:11:30 +00:00
parent 8211e6172a
commit 8ee6d136de
1 changed files with 2 additions and 2 deletions

View File

@ -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;