Changeset 27506
- Timestamp:
- 03/11/2014 10:13:05 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/plugin-editor.php
r27469 r27506 25 25 $plugins = get_plugins(); 26 26 27 if ( empty($plugins) ) 28 wp_die( __('There are no plugins installed on this site.') ); 27 if ( empty( $plugins ) ) { 28 include( ABSPATH . 'wp-admin/admin-header.php' ); 29 ?> 30 <div class="wrap"> 31 <h2><?php echo esc_html( $title ); ?></h2> 32 <div id="message" class="error"><p><?php _e( 'You do not appear to have any plugins available at this time.' ); ?></p></div> 33 </div> 34 <?php 35 include( ABSPATH . 'wp-admin/admin-footer.php' ); 36 exit; 37 } 29 38 30 39 if ( $file ) {
Note: See TracChangeset
for help on using the changeset viewer.