From b658e546840b8f23e2a1e413f6510104d73ea91f Mon Sep 17 00:00:00 2001 From: donncha Date: Mon, 10 Sep 2007 18:26:30 +0000 Subject: Sync with WP 2.2.3 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1051 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- xmlrpc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmlrpc.php') diff --git a/xmlrpc.php b/xmlrpc.php index a235e06..9989a40 100644 --- a/xmlrpc.php +++ b/xmlrpc.php @@ -1046,7 +1046,7 @@ class wp_xmlrpc_server extends IXR_Server { if(isset($content_struct["mt_allow_pings"])) { if(!is_numeric($content_struct["mt_allow_pings"])) { - switch($content["mt_allow_pings"]) { + switch($content_struct["mt_allow_pings"]) { case "closed": $ping_status = "closed"; break; @@ -1258,7 +1258,7 @@ class wp_xmlrpc_server extends IXR_Server { if(isset($content_struct["mt_allow_pings"])) { if(!is_numeric($content_struct["mt_allow_pings"])) { - switch($content["mt_allow_pings"]) { + switch($content_struct["mt_allow_pings"]) { case "closed": $ping_status = "closed"; break; -- cgit