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
+1 -5
View File
@@ -26,12 +26,8 @@ jQuery(function($) {
}
add_action( 'admin_head', 'index_js' );
function index_css() {
wp_admin_css( 'css/dashboard' );
}
add_action( 'admin_head', 'index_css' );
wp_enqueue_script( 'jquery' );
wp_admin_css( 'dashboard' );
$title = __('Dashboard');
$parent_file = 'index.php';