Skip to:
Content

BuddyPress.org

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


Ignore:
Timestamp:
09/05/2020 08:57:32 PM (5 years ago)
Author:
imath
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8355, comment 9

    initial v1  
    1 Well since WordPress 4.7 there's a new action `wp_roles_init` inside the `WP_Roles->init_roles()` which was added in WordPress 4.9.
     1Well since WordPress 4.7 there's a new action `wp_roles_init` inside the `WP_Roles->init_roles()` method which was added in WordPress 4.9.
    22
    33I've tested to use this action and it seems possible to add the `bp_moderate` cap to the Administrator role without having it saved into the database. It's an easier fix for this issue.