mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 10:44:26 +00:00
wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -6,10 +6,7 @@ $parent_file = 'plugins.php';
|
||||
|
||||
wp_reset_vars(array('action', 'redirect', 'profile', 'error', 'warning', 'a', 'file'));
|
||||
|
||||
add_action( 'admin_head', 'theme_editor_css' );
|
||||
function theme_editor_css(){
|
||||
wp_admin_css( 'css/theme-editor' );
|
||||
}
|
||||
wp_admin_css( 'theme-editor' );
|
||||
|
||||
$plugins = get_plugins();
|
||||
$plugin_files = array_keys($plugins);
|
||||
|
||||
Reference in New Issue
Block a user