From 6c4ccf3afc0459e657319b526d685bada8c1f6ec Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Mon, 5 Aug 2013 22:11:30 +0000 Subject: [PATCH] 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 --- wp-includes/formatting.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-includes/formatting.php b/wp-includes/formatting.php index aef2b6378c..98bae804b1 100644 --- a/wp-includes/formatting.php +++ b/wp-includes/formatting.php @@ -2598,8 +2598,8 @@ function _deep_replace( $search, $subject ) { * is preparing an array for use in an IN clause. * * @since 2.8.0 - * @param string $data Unescaped data - * @return string Escaped data + * @param string|array $data Unescaped data + * @return string|array Escaped data */ function esc_sql( $data ) { global $wpdb;