[wp-xmlrpc] Enable XMLRPC without turn on in the admin

Dion Hulse (dd32) wordpress at dd32.id.au
Mon Jan 9 08:18:45 UTC 2012


Alternatively you could do it progmatically by calling update_option()
on the correct option from code and then just use the core class...

If you're wanting to alter it for all new Multisite blogs for example,
there's a better way of achieving it, through using the installation
defaults hooks/filters.

On 9 January 2012 19:16, prasath nadarajah <n.prasath.002 at gmail.com> wrote:
> What you need to do is create a new wp_xmlrpc_server class and apply it
> using a hook  wp_xmlrpc_server_class.
>
> The new class will be as the same as the old class except you must hack the
> login method (line 179)
> and remove the code segment which checks whether the xmlrpc services are
> enabled.
> (From line 180 to 184)
>
>
> On Mon, Jan 9, 2012 at 1:30 PM, Ryan Chan <ryanchan404 at gmail.com> wrote:
>>
>> I want to turn on XMLRPC for users' blog without the need to change
>> the setting in their wordpress's admin.
>>
>> Is it possible to say, create a new file xmlrpc2.php and copy this
>> file to under the user's blog and apply some hack in this file to by
>> pass the admin setting?
>>
>> If yes, which file I should look at?
>>
>> Thanks.
>> _______________________________________________
>> wp-xmlrpc mailing list
>> wp-xmlrpc at lists.automattic.com
>> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>
>
>
> _______________________________________________
> wp-xmlrpc mailing list
> wp-xmlrpc at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-xmlrpc
>


More information about the wp-xmlrpc mailing list