WordPress.org

Make WordPress Core

Changeset 18520


Ignore:
Timestamp:
08/10/2011 06:53:54 PM (7 years ago)
Author:
nacin
Message:

Only show the primary button style for 'Update Now', not 'Re-install Now', on update-core.php. props tfnab, fixes #18115.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/update-core.php

    r18225 r18520  
    6767    if ( $show_buttons ) {
    6868        if ( $first_pass ) {
    69             submit_button( $submit, 'button button-primary', 'upgrade', false );
     69            submit_button( $submit, $current ? 'button' : 'primary', 'upgrade', false );
    7070            $first_pass = false;
    7171        } else {
Note: See TracChangeset for help on using the changeset viewer.