mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user