[wp-trac] [WordPress Trac] #14365: Admin custom option screen not saved unless user manage_options capability

WordPress Trac wp-trac at lists.automattic.com
Fri Sep 10 14:12:03 UTC 2010


#14365: Admin custom option screen not saved unless user manage_options capability
----------------------------+-----------------------------------------------
 Reporter:  markauk         |       Owner:     
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  3.1
Component:  Administration  |     Version:  3.0
 Severity:  normal          |    Keywords:     
----------------------------+-----------------------------------------------

Comment(by nacin):

 set_settings_group_capabilty() was the function I had tried to implement.

 The problem is that options.php needs quite a bit of refactoring, because
 we can't make the manage_options check too early now as it depends on the
 requested page, while at the same time, so much goes through options.php
 that we still need to check for that in quite a few places.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/14365#comment:5>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list