[wp-trac] [WordPress Trac] #10806: XMLRPC references level_8 capability

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 18 08:54:12 UTC 2009


#10806: XMLRPC references level_8 capability
--------------------------+-------------------------------------------------
 Reporter:  dd32          |       Owner:  josephscott   
     Type:  defect (bug)  |      Status:  new           
 Priority:  normal        |   Milestone:  Future Release
Component:  XML-RPC       |     Version:  2.9           
 Severity:  normal        |    Keywords:  needs-patch   
--------------------------+-------------------------------------------------
 the WPMU part of the wp_getUsersBlogs() XMLRPC method refers directly to
 the 'level_8' capability, The usage of user levels has been deprecated for
 awhile..

 I'm not entirely too sure how this applies to MU, so am not providing a
 patch..

 Affected line:
 http://core.trac.wordpress.org/browser/trunk/xmlrpc.php#L472

 s/level_10/administrator/ would appear to me to be the best solution to
 me.. but not sure if that role is used by MU.. possibly checking a
 capability would be better such as manage_options ?


 And before someone mentions this should be on the WPMU trac, This is WPMU
 specific code in WP.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/10806>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list