4d0cfabfb7 exec_xml() 오류로 일부 되돌림

This commit is contained in:
conory 2018-03-10 23:49:03 +09:00
parent 4d0cfabfb7
commit 720570224c

View file

@ -1159,12 +1159,6 @@ class Context
self::$_instance->request_method = isset($json_request) ? 'JSON' : 'XMLRPC';
}
}
// Pretend that this request is XMLRPC for compatibility with XE third-party.
if(isset($_POST['_rx_ajax_compat']) && $_POST['_rx_ajax_compat'] === 'XMLRPC')
{
self::$_instance->request_method = 'XMLRPC';
}
}
/**
@ -1252,6 +1246,12 @@ class Context
self::set($key, $val, $set_to_vars);
}
}
// Pretend that this request is XMLRPC for compatibility with XE third-party.
if(isset($_POST['_rx_ajax_compat']) && $_POST['_rx_ajax_compat'] === 'XMLRPC')
{
self::$_instance->request_method = 'XMLRPC';
}
}
/**