Changeset 43571 for trunk/src/wp-admin/upgrade.php
- Timestamp:
- 08/17/2018 01:50:26 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/upgrade.php
r42343 r43571 79 79 <p class="step"><a class="button button-large" href="<?php echo get_option( 'home' ); ?>/"><?php _e( 'Continue' ); ?></a></p> 80 80 81 <?php81 <?php 82 82 elseif ( ! $php_compat || ! $mysql_compat ) : 83 83 if ( ! $mysql_compat && ! $php_compat ) { … … 88 88 printf( __( 'You cannot update because <a href="https://codex.wordpress.org/Version_%1$s">WordPress %1$s</a> requires MySQL version %2$s or higher. You are running version %3$s.' ), $wp_version, $required_mysql_version, $mysql_version ); 89 89 } 90 ?>91 <?php90 ?> 91 <?php 92 92 else : 93 93 switch ( $step ) : … … 98 98 $goback = urlencode( $goback ); 99 99 } 100 ?>100 ?> 101 101 <h1><?php _e( 'Database Update Required' ); ?></h1> 102 102 <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> 103 103 <p><?php _e( 'The database update process may take a little while, so please be patient.' ); ?></p> 104 104 <p class="step"><a class="button button-large button-primary" href="upgrade.php?step=1&backto=<?php echo $goback; ?>"><?php _e( 'Update WordPress Database' ); ?></a></p> 105 <?php105 <?php 106 106 break; 107 107 case 1: … … 111 111 $backto = esc_url( $backto ); 112 112 $backto = wp_validate_redirect( $backto, __get_option( 'home' ) . '/' ); 113 ?>113 ?> 114 114 <h1><?php _e( 'Update Complete' ); ?></h1> 115 115 <p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p> … … 118 118 <!-- 119 119 <pre> 120 <?php printf( __( '%s queries' ), $wpdb->num_queries ); ?>120 <?php printf( __( '%s queries' ), $wpdb->num_queries ); ?> 121 121 122 <?php printf( __( '%s seconds' ), timer_stop( 0 ) ); ?>122 <?php printf( __( '%s seconds' ), timer_stop( 0 ) ); ?> 123 123 </pre> 124 124 --> 125 125 126 <?php126 <?php 127 127 break; 128 128 endswitch;
Note: See TracChangeset
for help on using the changeset viewer.