From c859ac8682bd2691371b7ce8ec456d931f455329 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 10 Aug 2011 18:53:54 +0000 Subject: [PATCH] Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115. git-svn-id: https://develop.svn.wordpress.org/trunk@18520 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/update-core.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/update-core.php b/wp-admin/update-core.php index 85c70a419d..6eb14670e6 100644 --- a/wp-admin/update-core.php +++ b/wp-admin/update-core.php @@ -66,7 +66,7 @@ function list_core_update( $update ) { echo ''; if ( $show_buttons ) { if ( $first_pass ) { - submit_button( $submit, 'button button-primary', 'upgrade', false ); + submit_button( $submit, $current ? 'button' : 'primary', 'upgrade', false ); $first_pass = false; } else { submit_button( $submit, 'button', 'upgrade', false );