mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 17:48:01 +01:00
Typo fix. Props nacin. fixes #11715
git-svn-id: http://svn.automattic.com/wordpress/trunk@12788 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2f3f5b351f
commit
9559d58e67
@ -43,7 +43,7 @@ if ( !defined('WP_ALLOW_REPAIR') ) {
|
|||||||
echo "<p>The {$wpdb->prefix}$table table is not okay. It is reporting the following error: <code>$check->Msg_text</code>. WordPress will attempt to repair this table…";
|
echo "<p>The {$wpdb->prefix}$table table is not okay. It is reporting the following error: <code>$check->Msg_text</code>. WordPress will attempt to repair this table…";
|
||||||
$repair = $wpdb->get_row("REPAIR TABLE {$wpdb->prefix}$table");
|
$repair = $wpdb->get_row("REPAIR TABLE {$wpdb->prefix}$table");
|
||||||
if ( 'OK' == $check->Msg_text ) {
|
if ( 'OK' == $check->Msg_text ) {
|
||||||
echo "<br /> Sucessfully repaired the {$wpdb->prefix}$table table.";
|
echo "<br /> Successfully repaired the {$wpdb->prefix}$table table.";
|
||||||
} else {
|
} else {
|
||||||
echo "<br /> Failed to repair the {$wpdb->prefix}$table table. Error: $check->Msg_text<br />";
|
echo "<br /> Failed to repair the {$wpdb->prefix}$table table. Error: $check->Msg_text<br />";
|
||||||
$problems["{$wpdb->prefix}$table"] = $check->Msg_text;
|
$problems["{$wpdb->prefix}$table"] = $check->Msg_text;
|
||||||
@ -57,7 +57,7 @@ if ( !defined('WP_ALLOW_REPAIR') ) {
|
|||||||
} else {
|
} else {
|
||||||
$check = $wpdb->get_row("OPTIMIZE TABLE {$wpdb->prefix}$table");
|
$check = $wpdb->get_row("OPTIMIZE TABLE {$wpdb->prefix}$table");
|
||||||
if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text )
|
if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text )
|
||||||
echo "<br /> Sucessfully optimized the {$wpdb->prefix}$table table.";
|
echo "<br /> Successfully optimized the {$wpdb->prefix}$table table.";
|
||||||
else
|
else
|
||||||
echo "<br /> Failed to optimize the {$wpdb->prefix}$table table. Error: $check->Msg_text";
|
echo "<br /> Failed to optimize the {$wpdb->prefix}$table table. Error: $check->Msg_text";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user