Ticket #34519: 34519.4.patch
File 34519.4.patch, 1.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/maint/repair.php
28 28 29 29 if ( ! defined( 'WP_ALLOW_REPAIR' ) ) { 30 30 31 echo '<h1 class="screen-reader-text">' . __( 'Allow automatic repair database' ) . '</h1>';31 echo '<h1 class="screen-reader-text">' . __( 'Allow automatic database repair' ) . '</h1>'; 32 32 33 33 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>"; 34 34 … … 64 64 65 65 } elseif ( isset( $_GET['repair'] ) ) { 66 66 67 echo '<h1 class="screen-reader-text">' . __( ' Results database repair' ) . '</h1>';67 echo '<h1 class="screen-reader-text">' . __( 'Database repair results' ) . '</h1>'; 68 68 69 69 $optimize = 2 == $_GET['repair']; 70 70 $okay = true;