Changeset 9159 for sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/helphub-customroles/class-helphub-custom-roles.php
- Timestamp:
- 10/02/2019 08:20:39 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/support-helphub/inc/helphub-customroles/class-helphub-custom-roles.php
r7306 r9159 223 223 if ( empty( $GLOBALS['wp_roles']->is_role( $role ) ) ) { 224 224 $wp_roles->add_role( $role, __( 'HelpHub Editor', 'wporg-forums' ), $default_editorroles->capabilities ); 225 226 $wp_roles->add_cap( $role, 'edit_theme_options' );227 225 } 228 226 }
Note: See TracChangeset
for help on using the changeset viewer.