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:
Peter Westwood 2009-08-08 08:38:20 +00:00
parent 152a0d9f3f
commit cbb9057c95
1 changed files with 4 additions and 1 deletions

View File

@ -201,6 +201,9 @@ class wp_xmlrpc_server extends IXR_Server {
$this->initialise_blog_option_info( );
$this->methods = apply_filters('xmlrpc_methods', $this->methods);
}
function serve_request() {
$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->serve_request();
?>