mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.
git-svn-id: http://svn.automattic.com/wordpress/trunk@18520 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
83c377a8ef
commit
bce03b27a6
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user