Changes in trunk/wp-admin/maint/repair.php [14096:16734]
- File:
-
- 1 edited
-
trunk/wp-admin/maint/repair.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/maint/repair.php
r14096 r16734 73 73 foreach ( $problems as $table => $problem ) 74 74 $problem_output[] = "$table: $problem"; 75 echo '<textarea name="errors" id="errors" rows="20" cols="60">' . format_to_edit(implode("\n", $problem_output)) . '</textarea>';75 echo '<textarea name="errors" id="errors" rows="20" cols="60">' . esc_textarea( implode("\n", $problem_output) ) . '</textarea>'; 76 76 } else { 77 77 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>"; … … 79 79 } else { 80 80 if ( isset($_GET['referrer']) && 'is_blog_installed' == $_GET['referrer'] ) 81 _e('One or more database tables is unavailable. To allow WordPress to attempt to repair these tables, press the "Repair Database" button. Repairing can take awhile, so please be patient.');81 _e('One or more database tables are unavailable. To allow WordPress to attempt to repair these tables, press the “Repair Database” button. Repairing can take a while, so please be patient.'); 82 82 else 83 _e('WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.')83 _e('WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.') 84 84 ?> 85 85 <p class="step"><a class="button" href="<?php echo wp_nonce_url('repair.php?repair=1', 'repair_db') ?>"><?php _e( 'Repair Database' ); ?></a></p>
Note: See TracChangeset
for help on using the changeset viewer.