diff --git a/src/wp-admin/plugin-editor.php b/src/wp-admin/plugin-editor.php index 33cb05bcfb..26c14bc251 100644 --- a/src/wp-admin/plugin-editor.php +++ b/src/wp-admin/plugin-editor.php @@ -24,8 +24,17 @@ wp_reset_vars( array( 'action', 'error', 'file', 'plugin' ) ); $plugins = get_plugins(); -if ( empty($plugins) ) - wp_die( __('There are no plugins installed on this site.') ); +if ( empty( $plugins ) ) { + include( ABSPATH . 'wp-admin/admin-header.php' ); + ?> +
+

+

+
+