[wp-trac] [WordPress Trac] #18461: adding a capability to a non-existing role gives warnings

WordPress Trac wp-trac at lists.automattic.com
Thu Aug 18 15:24:36 UTC 2011


#18461: adding a capability to a non-existing role gives warnings
-----------------------------+------------------------------
 Reporter:  opajaap          |       Owner:
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  3.2.1
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |
-----------------------------+------------------------------

Comment (by opajaap):

 This patch i invented myself already.
 I would like a solution to add_cap(), and a way to remove the invalid
 (nameless) role i seem to have created.

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


More information about the wp-trac mailing list