[wp-trac] [WordPress Trac] #16617: Bulk activate plugins: add capabilities with WP_Roles::add_cap() fails, while procedural add_cap() does not

WordPress Trac wp-trac at lists.automattic.com
Wed Feb 23 05:33:15 UTC 2011


#16617: Bulk activate plugins: add capabilities with WP_Roles::add_cap() fails,
while procedural add_cap() does not
-----------------------------+------------------------------
 Reporter:  jrfoell          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.0.5
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by jrfoell):

 I discovered it when trying to activate two newly installed plugins that
 used the different role methods.  I activated them both at the same time
 (using the bulk activate feature) and noticed the menus for one plugin
 wouldn't show up unless I deactivated it, then reactivated it by itself.

 Created some example plugins to make testing simpler.

 PHP version: 5.3.3

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


More information about the wp-trac mailing list