Don't include CSS on action pages.
git-svn-id: http://svn.automattic.com/wordpress/trunk@6889 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
a9812e8973
commit
878dd99bc2
|
@ -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