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:
Ryan Boren
2008-05-22 00:06:41 +00:00
parent 36f755bf12
commit 0198c04b6d
16 changed files with 35 additions and 48 deletions

View File

@@ -7,6 +7,7 @@ if ( ! current_user_can('switch_themes') )
wp_die( __( 'Cheatin’ uh?' ));
wp_enqueue_script( array( 'wp-lists', 'admin-widgets' ) );
wp_admin_css( 'widgets' );
do_action( 'sidebar_admin_setup' );