Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #28374, comment 9


Ignore:
Timestamp:
12/07/2021 11:47:47 AM (2 years ago)
Author:
pikamander2
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28374, comment 9

    initial v1  
    11This appears to still be an issue, at least in 5.8.
    22
    3 I was facing the exact same problem as @lgladdy where my custom role wasn't receiving the capability that I added to it via add_cap().
     3I was facing the exact same problem as @lgladdy in https://core.trac.wordpress.org/ticket/19747 where my custom role wasn't receiving the capability that I added to it via add_cap().
    44
    55His blog post (https://stormconsultancy.co.uk/blog/storm-news/custom-roles-in-wordpress-not-appearing-in-author-lists/) mentioned changing their role to something else and back as a workaround, but instead of trying that I just deleted the user and recreated them, at which point they had the new capability.