diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php index 8fcc6b4b4..e0c594e6a 100644 --- a/wp-admin/maint/repair.php +++ b/wp-admin/maint/repair.php @@ -26,8 +26,6 @@ header( 'Content-Type: text/html; charset=utf-8' ); if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { echo '

' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.' ) . "

define('WP_ALLOW_REPAIR', true);"; } elseif ( isset( $_GET['repair'] ) ) { - check_admin_referer( 'repair_db' ); - $optimize = 2 == $_GET['repair']; $okay = true; $problems = array(); @@ -104,9 +102,9 @@ if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { else echo '

' . __( 'WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.' ) . '

'; ?> -

+

-

+