Changeset 2930 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.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-plugin-directory.php
r2925 r2930 34 34 if ( defined( 'WP_ADMIN' ) && WP_ADMIN ) { 35 35 Admin\Customizations::instance(); 36 37 add_action( 'transition_post_status', array( 'Admin\Status_Transitions', 'instance' ) ); 36 38 } 37 39 … … 76 78 'edit_posts' => 'plugin_dashboard_access', 77 79 'edit_others_posts' => 'plugin_edit_others', 80 'publish_posts' => 'plugin_approve', 78 81 'read_private_posts' => 'do_not_allow', 79 82 'delete_posts' => 'do_not_allow', 80 'create_posts' => 'do_not_allow' 83 'create_posts' => 'do_not_allow', 81 84 ) 82 85 ) ); … … 125 128 'label' => _x( 'Pending', 'plugin status', 'wporg-plugins' ), 126 129 'public' => false, 127 'show_in_admin_status_list' => current_user_can( 'plugin_ approve' ),130 'show_in_admin_status_list' => current_user_can( 'plugin_review' ), 128 131 'label_count' => _n_noop( 'Pending <span class="count">(%s)</span>', 'Pending <span class="count">(%s)</span>', 'wporg-plugins' ), 129 132 ) );
Note: See TracChangeset
for help on using the changeset viewer.