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: http://svn.automattic.com/wordpress/trunk@11789 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2009-08-08 08:38:20 +00:00
parent ae4a4c13d9
commit 461f029eac
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();
?>