mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-10 21:00:59 +01:00
Don't escape objects
git-svn-id: http://svn.automattic.com/wordpress/branches/1.5@2673 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
bcb43dd535
commit
9097e32aa5
@ -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