[wp-trac] [WordPress Trac] #32617: After adding the 'edit_posts' capability to 'subscriber' and turning off, the added role still remains

WordPress Trac noreply at wordpress.org
Thu Jun 11 21:10:50 UTC 2015


#32617: After adding the 'edit_posts' capability to 'subscriber' and turning off,
the added role still remains
-----------------------------+------------------------------
 Reporter:  DJviolin         |       Owner:
     Type:  defect (bug)     |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Role/Capability  |     Version:  4.2.2
 Severity:  normal           |  Resolution:  invalid
 Keywords:                   |     Focuses:  administration
-----------------------------+------------------------------
Changes (by knutsp):

 * keywords:  close =>
 * status:  new => closed
 * resolution:   => invalid


Comment:

 Hello @DJviolin

 Welcome to Trac

 I'm sorry, but I not quite sure I understand your problem.

 If you need to add capabilities to roles, I suggest a role manager or
 capability manager plugin. A theme should not make permanent changes to
 roles on every page load. Capabilities may be manipulated from
 `functions.php` using the `map_meta_cap` filter.

 Since I can't see any indication of a core bug in your report and latest
 comment, I have to suggest you try our support forum
 [https://wordpress.org/support/]. The people there are most capable of
 helping you do what you want the right way.

 If it should later become evident there is, or may be, a bug in core,
 please feel free to reopen this ticket.

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


More information about the wp-trac mailing list