Don't include CSS on action pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@6889 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
1ed309a3b2
commit
48c3643653
@ -5,7 +5,6 @@ $title = __("Edit Themes");
|
||||
$parent_file = 'themes.php';
|
||||
|
||||
wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file', 'theme'));
|
||||
wp_admin_css( 'css/theme-editor' );
|
||||
|
||||
$themes = get_themes();
|
||||
|
||||
@ -65,6 +64,8 @@ default:
|
||||
|
||||
require_once('admin-header.php');
|
||||
|
||||
wp_admin_css( 'css/theme-editor' );
|
||||
|
||||
update_recently_edited($file);
|
||||
|
||||
if (!is_file($real_file))
|
||||
|
Loading…
Reference in New Issue
Block a user