equal
deleted
inserted
replaced
14 <!DOCTYPE html> |
14 <!DOCTYPE html> |
15 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
15 <html xmlns="http://www.w3.org/1999/xhtml" <?php language_attributes(); ?>> |
16 <head> |
16 <head> |
17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
17 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
18 <title><?php _e( 'WordPress › Database Repair' ); ?></title> |
18 <title><?php _e( 'WordPress › Database Repair' ); ?></title> |
19 <?php wp_admin_css( 'install', true ); ?> |
19 <?php |
|
20 wp_admin_css( 'install', true ); |
|
21 ?> |
20 </head> |
22 </head> |
21 <body> |
23 <body class="wp-core-ui"> |
22 <h1 id="logo"><img alt="WordPress" src="../images/wordpress-logo.png?ver=20120216" /></h1> |
24 <h1 id="logo"><a href="<?php esc_attr_e( 'http://wordpress.org/' ); ?>"><?php _e( 'WordPress' ); ?></a></h1> |
23 |
25 |
24 <?php |
26 <?php |
25 |
27 |
26 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { |
28 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { |
27 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>"; |
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>"; |
100 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) |
102 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) |
101 echo '<p>' . __( '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.' ) . '</p>'; |
103 echo '<p>' . __( '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.' ) . '</p>'; |
102 else |
104 else |
103 echo '<p>' . __( 'WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.' ) . '</p>'; |
105 echo '<p>' . __( 'WordPress can automatically look for some common database problems and repair them. Repairing can take a while, so please be patient.' ) . '</p>'; |
104 ?> |
106 ?> |
105 <p class="step"><a class="button" href="repair.php?repair=1"><?php _e( 'Repair Database' ); ?></a></p> |
107 <p class="step"><a class="button button-large" href="repair.php?repair=1"><?php _e( 'Repair Database' ); ?></a></p> |
106 <p><?php _e( 'WordPress can also attempt to optimize the database. This improves performance in some situations. Repairing and optimizing the database can take a long time and the database will be locked while optimizing.' ); ?></p> |
108 <p><?php _e( 'WordPress can also attempt to optimize the database. This improves performance in some situations. Repairing and optimizing the database can take a long time and the database will be locked while optimizing.' ); ?></p> |
107 <p class="step"><a class="button" href="repair.php?repair=2"><?php _e( 'Repair and Optimize Database' ); ?></a></p> |
109 <p class="step"><a class="button button-large" href="repair.php?repair=2"><?php _e( 'Repair and Optimize Database' ); ?></a></p> |
108 <?php |
110 <?php |
109 } |
111 } |
110 ?> |
112 ?> |
111 </body> |
113 </body> |
112 </html> |
114 </html> |