[wp-trac] [WordPress Trac] #20201: wp.Options lies about the updatability of options.

WordPress Trac wp-trac at lists.automattic.com
Thu Mar 8 12:04:08 UTC 2012


#20201: wp.Options lies about the updatability of options.
--------------------------+----------------------------
 Reporter:  westi         |      Owner:  westi
     Type:  defect (bug)  |     Status:  new
 Priority:  low           |  Milestone:  Future Release
Component:  XML-RPC       |    Version:  3.4
 Severity:  normal        |   Keywords:
--------------------------+----------------------------
 When an XMLRPC client calls this API we give it a `readonly` status for
 each of the options returned which lets it know whether or not the options
 are writable or not.

 This status is hardcoded in the code and not capability aware so a user
 with only subscriber level access is given the impression that they can
 update options they can't.

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


More information about the wp-trac mailing list