Changeset 7790
- Timestamp:
- 10/27/2018 10:44:57 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-customizations.php
r7310 r7790 246 246 $message = ''; 247 247 $type = 'updated'; 248 $post = get_post(); 249 $is_admin = current_user_can( 'plugin_approve' ); 250 251 switch ( $post->post_status ) { 248 249 switch ( get_post_status() ) { 252 250 case 'new': 253 251 $message = __( 'This plugin is newly requested and has not yet been reviewed.', 'wporg-plugins' );
Note: See TracChangeset
for help on using the changeset viewer.