mt_allow_pings fix. Props Joseph Scott and Allan Odgaard. fixes #4770 for 2.2

git-svn-id: http://svn.automattic.com/wordpress/branches/2.2@5905 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-08-20 18:18:46 +00:00
parent 062d072c1c
commit f6d340da08
1 changed files with 2 additions and 2 deletions

View File

@ -1033,7 +1033,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;
@ -1245,7 +1245,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;