Changeset 47808 for trunk/src/wp-admin/maint/repair.php
- Timestamp:
- 05/16/2020 06:40:52 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/maint/repair.php
r47198 r47808 97 97 98 98 echo '<p>'; 99 if ( 'OK' == $check->Msg_text ) {99 if ( 'OK' === $check->Msg_text ) { 100 100 /* translators: %s: Table name. */ 101 101 printf( __( 'The %s table is okay.' ), "<code>$table</code>" ); … … 107 107 108 108 echo '<br /> '; 109 if ( 'OK' == $check->Msg_text ) {109 if ( 'OK' === $check->Msg_text ) { 110 110 /* translators: %s: Table name. */ 111 111 printf( __( 'Successfully repaired the %s table.' ), "<code>$table</code>" ); … … 122 122 123 123 echo '<br /> '; 124 if ( 'Table is already up to date' == $check->Msg_text ) {124 if ( 'Table is already up to date' === $check->Msg_text ) { 125 125 /* translators: %s: Table name. */ 126 126 printf( __( 'The %s table is already optimized.' ), "<code>$table</code>" ); … … 129 129 130 130 echo '<br /> '; 131 if ( 'OK' == $check->Msg_text || 'Table is already up to date'== $check->Msg_text ) {131 if ( 'OK' === $check->Msg_text || 'Table is already up to date' === $check->Msg_text ) { 132 132 /* translators: %s: Table name. */ 133 133 printf( __( 'Successfully optimized the %s table.' ), "<code>$table</code>" ); … … 159 159 echo '<h1 class="screen-reader-text">' . __( 'WordPress database repair' ) . '</h1>'; 160 160 161 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' == $_GET['referrer'] ) {161 if ( isset( $_GET['referrer'] ) && 'is_blog_installed' === $_GET['referrer'] ) { 162 162 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>'; 163 163 } else {
Note: See TracChangeset
for help on using the changeset viewer.