From 24537164ff008ca175bfa2b481a858d85f55aca9 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Tue, 30 Oct 2012 16:28:13 +0000 Subject: [PATCH] Buttons: make install.css depend on buttons.css (so button styles are always loaded), see #21598 git-svn-id: http://core.svn.wordpress.org/trunk@22327 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/install.php | 1 - wp-admin/maint/repair.php | 1 - wp-includes/script-loader.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-admin/install.php b/wp-admin/install.php index d7e12bdc8e..4acb98b9a6 100644 --- a/wp-admin/install.php +++ b/wp-admin/install.php @@ -60,7 +60,6 @@ function display_header() { <?php _e( 'WordPress › Installation' ); ?> > diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php index 3604b41533..f838214f7d 100644 --- a/wp-admin/maint/repair.php +++ b/wp-admin/maint/repair.php @@ -18,7 +18,6 @@ header( 'Content-Type: text/html; charset=utf-8' ); <?php _e( 'WordPress › Database Repair' ); ?> diff --git a/wp-includes/script-loader.php b/wp-includes/script-loader.php index 0aff889908..0393390365 100644 --- a/wp-includes/script-loader.php +++ b/wp-includes/script-loader.php @@ -530,7 +530,7 @@ function wp_default_styles( &$styles ) { $styles->add( 'colors-classic', "/wp-admin/css/colors-classic$suffix.css", array('wp-admin', 'buttons') ); $styles->add( 'media', "/wp-admin/css/media$suffix.css" ); - $styles->add( 'install', "/wp-admin/css/install$suffix.css" ); + $styles->add( 'install', "/wp-admin/css/install$suffix.css", array('buttons') ); $styles->add( 'thickbox', '/wp-includes/js/thickbox/thickbox.css' ); $styles->add( 'farbtastic', '/wp-admin/css/farbtastic.css', array(), '1.3u1' ); $styles->add( 'wp-color-picker', "/wp-admin/css/color-picker$suffix.css" );