[wp-trac] [WordPress Trac] #21509: Enable XML-RPC by default and remove the option
WordPress Trac
noreply at wordpress.org
Wed Jan 16 06:23:13 UTC 2013
#21509: Enable XML-RPC by default and remove the option
-------------------------+---------------------
Reporter: nacin | Owner: nacin
Type: enhancement | Status: closed
Priority: normal | Milestone: 3.5
Component: XML-RPC | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch |
-------------------------+---------------------
Comment (by F J Kaiser):
Replying to [comment:15 digip]:
> I changed it to:
>
> {{{
> add_filter( 'wp_xmlrpc_server_class', '__return_false' );
> }}}
Just because I stumbled upon it and read what you're suggesting to later
readers: This is not a good idea. When you look at {{{~/xmlrpc.php}}},
[https://github.com/WordPress/WordPress/blob/master/xmlrpc.php#L68 then
you'll see], what WP calls immediately after allowing to filter ''the
class''. Guess what happens when you call
{{{
false->serve_request();
}}}
;)
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21509#comment:16>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list