X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/fa11948979fd6a4ea5705dc613b239699a459db3..9e77185fafaf4e60e2b73821e0e4b9b1a11fb85f:/wp-admin/maint/repair.php?ds=sidebyside diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php index 98bf5790..cdc6c0aa 100644 --- a/wp-admin/maint/repair.php +++ b/wp-admin/maint/repair.php @@ -14,6 +14,7 @@ header( 'Content-Type: text/html; charset=utf-8' ); >
+wp-config.php
file. Once this line is added to your config, reload this page.' ) . "define('WP_ALLOW_REPAIR', true);
";
+ 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);
' . __('Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.') . '
', __( 'http://wordpress.org/support/forum/how-to-and-troubleshooting' ) ); + printf( '' . __('Some database problems could not be repaired. Please copy-and-paste the following list of errors to the WordPress support forums to get additional assistance.') . '
', __( 'https://wordpress.org/support/forum/how-to-and-troubleshooting' ) ); $problem_output = ''; foreach ( $problems as $table => $problem ) $problem_output .= "$table: $problem\n"; echo ''; } else { - echo '' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "
define('WP_ALLOW_REPAIR', true);
";
+ echo '' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "
define('WP_ALLOW_REPAIR', true);