Changeset 3079
- Timestamp:
- 05/05/2016 01:14:26 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-capabilities.php
r2979 r3079 110 110 } 111 111 112 foreach ( $committer as $committer_cap ) {112 foreach ( $committer as $committer_cap => $value ) { 113 113 $wp_role->add_cap( $committer_cap ); 114 114 } 115 115 116 116 if ( in_array( $role, array( 'editor', 'administrator' ) ) ) { 117 foreach ( $admin as $admin_cap ) {117 foreach ( $admin as $admin_cap => $value ) { 118 118 $wp_role->add_cap( $admin_cap ); 119 119 }
Note: See TracChangeset
for help on using the changeset viewer.