mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-04 20:54:29 +00:00
Constructor cleanup. Props ocean90. fixes #16768
git-svn-id: https://develop.svn.wordpress.org/trunk@17771 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -24,7 +24,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
/**
|
||||
* Register all of the XMLRPC methods that XMLRPC server understands.
|
||||
*
|
||||
* PHP4 constructor and sets up server and method property. Passes XMLRPC
|
||||
* Sets up server and method property. Passes XMLRPC
|
||||
* methods through the 'xmlrpc_methods' filter to allow plugins to extend
|
||||
* or replace XMLRPC methods.
|
||||
*
|
||||
@@ -32,7 +32,7 @@ class wp_xmlrpc_server extends IXR_Server {
|
||||
*
|
||||
* @return wp_xmlrpc_server
|
||||
*/
|
||||
function wp_xmlrpc_server() {
|
||||
function __construct() {
|
||||
$this->methods = array(
|
||||
// WordPress API
|
||||
'wp.getUsersBlogs' => 'this:wp_getUsersBlogs',
|
||||
|
||||
Reference in New Issue
Block a user