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
This commit is contained in:
Andrew Nacin 2011-08-10 18:53:54 +00:00
parent 4feac2cbde
commit c859ac8682

View File

@ -66,7 +66,7 @@ function list_core_update( $update ) {
echo '<input name="locale" value="'. esc_attr($update->locale) .'" type="hidden"/>';
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 );