Changeset 3036 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php
- Timestamp:
- 04/28/2016 06:01:20 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
r2996 r3036 44 44 if ( current_user_can( 'plugin_approve', $post ) ) { 45 45 if ( in_array( $post->post_status, array( 'draft', 'pending', 'rejected' ) ) ) { 46 $statuses = array_merge( $statuses, array( ' publish', 'rejected' ) );46 $statuses = array_merge( $statuses, array( 'approved', 'rejected' ) ); 47 47 } else { 48 48 $statuses = array( 'publish', 'disabled', 'closed' );
Note: See TracChangeset
for help on using the changeset viewer.