Upgrade/Install: Remove debugging artifacts from wp-admin/upgrade.php
added in [1229].
Props rahulvaza. Fixes #47074. git-svn-id: https://develop.svn.wordpress.org/trunk@45633 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
0492ad749d
commit
60c7970d14
@ -19,7 +19,6 @@ require( dirname( dirname( __FILE__ ) ) . '/wp-load.php' );
|
||||
|
||||
nocache_headers();
|
||||
|
||||
timer_start();
|
||||
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
||||
|
||||
delete_site_transient( 'update_core' );
|
||||
@ -132,15 +131,6 @@ else :
|
||||
<h1><?php _e( 'Update Complete' ); ?></h1>
|
||||
<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>
|
||||
|
||||
<!--
|
||||
<pre>
|
||||
<?php printf( __( '%s queries' ), $wpdb->num_queries ); ?>
|
||||
|
||||
<?php printf( __( '%s seconds' ), timer_stop( 0 ) ); ?>
|
||||
</pre>
|
||||
-->
|
||||
|
||||
<?php
|
||||
break;
|
||||
endswitch;
|
||||
|
Loading…
Reference in New Issue
Block a user