Don't escape objects.
git-svn-id: https://develop.svn.wordpress.org/trunk@2674 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
90afdb5e98
commit
a2e8b43f54
@ -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…
x
Reference in New Issue
Block a user