Changeset 12789 for trunk/wp-admin/maint/repair.php
- Timestamp:
- 01/21/2010 09:37:43 PM (17 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/maint/repair.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/maint/repair.php
r12788 r12789 20 20 21 21 if ( !defined('WP_ALLOW_REPAIR') ) { 22 _e("<p>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.</p><code>define('WP_ALLOW_REPAIR', true);</code>");22 echo '<p>'.__('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.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; 23 23 } elseif ( isset($_GET['repair']) ) { 24 24 $problems = array(); … … 67 67 68 68 if ( !empty($problems) ) { 69 printf( __('<p>Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.</p>'), 'http://wordpress.org/support/forum/3');69 printf('<p>'.__('Some database problems could not be repaired. Please copy-and-paste the following list of errors to the <a href="%s">WordPress support forums</a> to get additional assistance.').'</p>', 'http://wordpress.org/support/forum/3'); 70 70 $problem_output = array(); 71 71 foreach ( $problems as $table => $problem ) … … 73 73 echo '<textarea name="errors" id="errors" rows="20" cols="60">' . format_to_edit(implode("\n", $problem_output)) . '</textarea>'; 74 74 } else { 75 _e("<p>Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.</p><code>define('WP_ALLOW_REPAIR', true);</code>");75 echo '<p>'.__('Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.')."</p><code>define('WP_ALLOW_REPAIR', true);</code>"; 76 76 } 77 77 } else {
Note:
See TracChangeset
for help on using the changeset viewer.