From 8ee6d136dea3abaa2117c2a186d4d52781b31681 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: http://core.svn.wordpress.org/trunk@24986 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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;