Changeset 3038
- Timestamp:
- 04/28/2016 06:36:27 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php
r3036 r3038 43 43 $statuses = array( 'draft', 'pending' ); 44 44 if ( current_user_can( 'plugin_approve', $post ) ) { 45 if ( in_array( $post->post_status, array( 'draft', 'pending', 'rejected' ) ) ) {45 if ( in_array( $post->post_status, array( 'draft', 'pending', 'rejected', 'approved' ) ) ) { 46 46 $statuses = array_merge( $statuses, array( 'approved', 'rejected' ) ); 47 47 } else {
Note: See TracChangeset
for help on using the changeset viewer.