Upgrade/Install: Remove debugging artifacts from `wp-admin/upgrade.php` added in [1229].
Props rahulvaza. Fixes #47074. Built from https://develop.svn.wordpress.org/trunk@45633 git-svn-id: http://core.svn.wordpress.org/trunk@45444 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
e85a5c64a3
commit
436a9512e2
|
@ -19,7 +19,6 @@ require( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||||
|
|
||||||
nocache_headers();
|
nocache_headers();
|
||||||
|
|
||||||
timer_start();
|
|
||||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||||
|
|
||||||
delete_site_transient( 'update_core' );
|
delete_site_transient( 'update_core' );
|
||||||
|
@ -132,15 +131,6 @@ else :
|
||||||
<h1><?php _e( 'Update Complete' ); ?></h1>
|
<h1><?php _e( 'Update Complete' ); ?></h1>
|
||||||
<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
|
<p><?php _e( 'Your WordPress database has been successfully updated!' ); ?></p>
|
||||||
<p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
|
<p class="step"><a class="button button-large" href="<?php echo $backto; ?>"><?php _e( 'Continue' ); ?></a></p>
|
||||||
|
|
||||||
<!--
|
|
||||||
<pre>
|
|
||||||
<?php printf( __( '%s queries' ), $wpdb->num_queries ); ?>
|
|
||||||
|
|
||||||
<?php printf( __( '%s seconds' ), timer_stop( 0 ) ); ?>
|
|
||||||
</pre>
|
|
||||||
-->
|
|
||||||
|
|
||||||
<?php
|
<?php
|
||||||
break;
|
break;
|
||||||
endswitch;
|
endswitch;
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '5.3-alpha-45632';
|
$wp_version = '5.3-alpha-45633';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue