[buddypress-trac] [BuddyPress Trac] #8355: Site Admins cannot edit BP emails

buddypress-trac noreply at wordpress.org
Sat Sep 5 20:55:58 UTC 2020


#8355: Site Admins cannot edit BP emails
-----------------------------------+---------------------
 Reporter:  shanebp                |       Owner:  DJPaul
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  7.0.0
Component:  Emails                 |     Version:  6.2.0
 Severity:  normal                 |  Resolution:
 Keywords:  has-patch 2nd-opinion  |
-----------------------------------+---------------------

Comment (by imath):

 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.

 I'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.

 Whether it's available since 4.7 (action) or 4.9 (method), it's anyway
 available for the BP 7.0.0 required WP version.

 See 8355.2.patch

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8355#comment:9>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list