mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 13:37:51 +01:00
Don't escape objects.
git-svn-id: http://svn.automattic.com/wordpress/trunk@2674 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
210192f822
commit
3882320f61
@ -133,6 +133,8 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
foreach ($array as $k => $v) {
|
||||
if (is_array($v)) {
|
||||
$this->escape($array[$k]);
|
||||
} else if (is_object($v)) {
|
||||
//skip
|
||||
} else {
|
||||
$array[$k] = $wpdb->escape($v);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user