WordPress.org

Make WordPress Core

Ticket #22385: 22385-upgrade.patch

File 22385-upgrade.patch, 1.7 KB (added by johnbillion, 6 years ago)
  • wp-admin/upgrade.php

     
    6464
    6565<h2><?php _e( 'No Update Required' ); ?></h2>
    6666<p><?php _e( 'Your WordPress database is already up-to-date!' ); ?></p>
    67 <p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
     67<p class="step"><a class="button button-large button-primary" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p>
    6868
    6969<?php elseif ( !$php_compat || !$mysql_compat ) :
    7070        if ( !$mysql_compat && !$php_compat )
     
    8484<h2><?php _e( 'Database Update Required' ); ?></h2>
    8585<p><?php _e( 'WordPress has been updated! Before we send you on your way, we have to update your database to the newest version.' ); ?></p>
    8686<p><?php _e( 'The update process may take a little while, so please be patient.' ); ?></p>
    87 <p class="step"><a class="button button-large" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
     87<p class="step"><a class="button button-large button-primary" href="upgrade.php?step=1&amp;backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p>
    8888<?php
    8989                break;
    9090        case 1:
     
    9696?>
    9797<h2><?php _e( 'Update Complete' ); ?></h2>
    9898        <p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
    99         <p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
     99        <p class="step"><a class="button button-large button-primary" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
    100100
    101101<!--
    102102<pre>