mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 04:40: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:
+1
-5
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user