Ticket #35269: xmlrpc.php.patch
File xmlrpc.php.patch, 669 bytes (added by , 9 years ago) |
---|
-
xmlrpc.php
78 78 * @param string $class The name of the XML-RPC server class. 79 79 */ 80 80 $wp_xmlrpc_server_class = apply_filters( 'wp_xmlrpc_server_class', 'wp_xmlrpc_server' ); 81 $wp_xmlrpc_server = new $wp_xmlrpc_server_class;82 81 83 // Fire off the request 84 $wp_xmlrpc_server->serve_request();82 if( is_string( $wp_xmlrpc_server_class ) && class_exists( $wp_xmlrpc_server_class ) ){ 83 $wp_xmlrpc_server = new $wp_xmlrpc_server_class; 85 84 85 // Fire off the request 86 $wp_xmlrpc_server->serve_request(); 87 } 88 86 89 exit; 87 90 88 91 /**