mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Cast to array in xmlrpc.php. fixes #3266
git-svn-id: http://svn.automattic.com/wordpress/trunk@4412 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e7b9e6ac2d
commit
fa91c7b642
@ -134,7 +134,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
function escape(&$array) {
|
||||
global $wpdb;
|
||||
|
||||
foreach ($array as $k => $v) {
|
||||
foreach ( (array) $array as $k => $v ) {
|
||||
if (is_array($v)) {
|
||||
$this->escape($array[$k]);
|
||||
} else if (is_object($v)) {
|
||||
|
Loading…
Reference in New Issue
Block a user