[wp-trac] [WordPress Trac] #43421: The $capabilities argument in the `add_role()` function requires an explicit grant

WordPress Trac noreply at wordpress.org
Mon Dec 15 22:32:10 UTC 2025


#43421: The $capabilities argument in the `add_role()` function requires an
explicit grant
--------------------------------------+--------------------------
 Reporter:  eclev91                   |       Owner:  johnbillion
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.9
Component:  Role/Capability           |     Version:  4.9.4
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+--------------------------

Comment (by peterwilsoncc):

 In [changeset:"61381" 61381]:
 {{{
 #!CommitTicketReference repository="" revision="61381"
 Docs: Update `@since x.y.z` with actual version number.

 Follow-up to [60364].

 Reviewed by jorbin.
 Merges [61354] to the 6.9 branch.

 Props solankisoftware, oztaser, westonruter.
 See #43421.
 Fixes #64366.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43421#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list