Changeset 2930 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-capabilities.php
- Timestamp:
- 04/11/2016 01:42:53 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
r2830 r2930 16 16 * @param int $user_id The user ID. 17 17 * @param array $context Adds the context to the cap. Typically the object ID. 18 * @return array Primitive caps. 18 19 */ 19 20 public static function map_meta_cap( $required_caps, $cap, $user_id, $context ) { … … 81 82 $reviewer = array_merge( $committer, array( 82 83 'plugin_edit_pending' => true, 83 'plugin_approve' => true, 84 'plugin_reject' => true, 84 'plugin_review' => true, 85 85 ) ); 86 86 … … 88 88 'plugin_add_committer' => true, 89 89 'plugin_edit_others' => true, 90 'plugin_approve' => true, 91 'plugin_reject' => true, 90 92 'plugin_disable' => true, 91 93 'plugin_close' => true,
Note: See TracChangeset
for help on using the changeset viewer.