Adjust esc_sql()'s @param documentation to reflect that it allows for arrays. props scribu, fixes #22573.

git-svn-id: https://develop.svn.wordpress.org/trunk@24986 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Nacin 2013-08-05 22:11:30 +00:00
parent da61fa7131
commit 6c4ccf3afc
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;