Seperate out the XML-RPC server active behaviour from object construction so that plugins can use the utility functions when extending the XML-RPC server. Fixes #10513 props davecpage.
git-svn-id: https://develop.svn.wordpress.org/trunk@11789 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
152a0d9f3f
commit
cbb9057c95
@ -201,6 +201,9 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
|
|
||||||
$this->initialise_blog_option_info( );
|
$this->initialise_blog_option_info( );
|
||||||
$this->methods = apply_filters('xmlrpc_methods', $this->methods);
|
$this->methods = apply_filters('xmlrpc_methods', $this->methods);
|
||||||
|
}
|
||||||
|
|
||||||
|
function serve_request() {
|
||||||
$this->IXR_Server($this->methods);
|
$this->IXR_Server($this->methods);
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3405,5 +3408,5 @@ class wp_xmlrpc_server extends IXR_Server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$wp_xmlrpc_server = new wp_xmlrpc_server();
|
$wp_xmlrpc_server = new wp_xmlrpc_server();
|
||||||
|
$wp_xmlrpc_server->serve_request();
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user