Changeset 26298 for trunk/src/wp-admin/maint/repair.php
- Timestamp:
- 11/21/2013 12:20:13 AM (12 years ago)
- File:
-
- 1 edited
-
trunk/src/wp-admin/maint/repair.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/maint/repair.php
r25725 r26298 15 15 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> 16 16 <head> 17 <meta name="viewport" content="width=device-width" /> 17 18 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 18 19 <title><?php _e( 'WordPress › Database Repair' ); ?></title> … … 27 28 28 29 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { 29 echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p>< code>define('WP_ALLOW_REPAIR', true);</code>";30 echo '<p>' . __( 'To allow use of this page to automatically repair database problems, please add the following line to your <code>wp-config.php</code> file. Once this line is added to your config, reload this page.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; 30 31 } elseif ( isset( $_GET['repair'] ) ) { 31 32 $optimize = 2 == $_GET['repair']; … … 104 105 echo '<p><textarea name="errors" id="errors" rows="20" cols="60">' . esc_textarea( $problem_output ) . '</textarea></p>'; 105 106 } else { 106 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>";107 echo '<p>' . __( 'Repairs complete. Please remove the following line from wp-config.php to prevent this page from being used by unauthorized users.' ) . "</p><p><code>define('WP_ALLOW_REPAIR', true);</code></p>"; 107 108 } 108 109 } else {
Note: See TracChangeset
for help on using the changeset viewer.