[wp-trac] [WordPress Trac] #29750: array_unshift() PHP Warning when wp.getUsersBlogs is attacked (poorly)

WordPress Trac noreply at wordpress.org
Mon Sep 12 20:17:51 UTC 2016


#29750: array_unshift()  PHP Warning when wp.getUsersBlogs is attacked (poorly)
--------------------------+-----------------------------
 Reporter:  kitchin       |       Owner:
     Type:  defect (bug)  |      Status:  assigned
 Priority:  normal        |   Milestone:  Future Release
Component:  XML-RPC       |     Version:  4.0
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:
--------------------------+-----------------------------

Comment (by rpayne7264):

 Replying to [comment:9 kitchin]:
 > Maybe you can work with that!

 Your patch looks fine, to me, and should be applied, ASAP.

 I have addressed my situation by turning off XML RPC completely, by
 placing the following line in a MU plugin:

 {{{#!php
 add_filter( 'xmlrpc_enabled', '__return_false' );
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29750#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list