[wp-trac] [WordPress Trac] #21123: Enforce multisite plugins menu preference in map_meta_cap()

WordPress Trac wp-trac at lists.automattic.com
Sat Jun 30 12:40:27 UTC 2012


#21123: Enforce multisite plugins menu preference in map_meta_cap()
-------------------------+---------------------
 Reporter:  nacin        |       Owner:  nacin
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:  3.5
Component:  Multisite    |     Version:
 Severity:  normal       |  Resolution:  fixed
 Keywords:               |
-------------------------+---------------------
Changes (by nacin):

 * status:  accepted => closed
 * resolution:   => fixed


Comment:

 In [21198]:
 {{{
 #!CommitTicketReference repository="" revision="21198"
 Enforce multisite plugins menu preference in map_meta_cap(). This means a
 simple current_user_can('activate_plugins') check will handle the 'Enable
 administration menus' setting.

 Remove bogus checks for enabling/disabling the 'themes' menu (something
 core does not handle out of the box) when in the network admin.

 fixes #21123.
 }}}

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


More information about the wp-trac mailing list