WordPress.org

Make WordPress Core

Ticket #14814: filter_xmlrpc_server_class.14814.diff

File filter_xmlrpc_server_class.14814.diff, 397 bytes (added by filosofo, 5 years ago)
  • xmlrpc.php

     
    33363336        } 
    33373337} 
    33383338 
    3339 $wp_xmlrpc_server = new wp_xmlrpc_server(); 
     3339$xmlrpc_server_class = apply_filters('wp_xmlrpc_server_class', 'wp_xmlrpc_server'); 
     3340$wp_xmlrpc_server = new $xmlrpc_server_class; 
    33403341$wp_xmlrpc_server->serve_request(); 
    33413342?>