Changeset 2979
- Timestamp:
- 04/19/2016 07:59:19 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-capabilities.php
r2930 r2979 106 106 $wp_role = get_role( $role ); 107 107 108 if ( ! $wp_role ) { 109 continue; 110 } 111 108 112 foreach ( $committer as $committer_cap ) { 109 113 $wp_role->add_cap( $committer_cap ); … … 116 120 } 117 121 } 122 123 update_option( 'default_role', 'plugin_committer' ); 118 124 } 119 125 }
Note: See TracChangeset
for help on using the changeset viewer.