diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php index 7eb3abbf9a..9f2c26f14d 100644 --- a/wp-admin/maint/repair.php +++ b/wp-admin/maint/repair.php @@ -41,9 +41,9 @@ if ( !defined('WP_ALLOW_REPAIR') ) { echo "
The {$wpdb->prefix}$table table is okay."; } else { echo "
The {$wpdb->prefix}$table table is not okay. It is reporting the following error: $check->Msg_text
. WordPress will attempt to repair this table…";
- $repair = $wpdb->get_row("REPAIR TABLE {$wpb->prefix}$table");
+ $repair = $wpdb->get_row("REPAIR TABLE {$wpdb->prefix}$table");
if ( 'OK' == $check->Msg_text ) {
- echo "
Sucessfully repaired the {$wpb->prefix}$table table.";
+ echo "
Sucessfully repaired the {$wpdb->prefix}$table table.";
} else {
echo "
Failed to repair the {$wpdb->prefix}$table table. Error: $check->Msg_text
";
$problems["{$wpdb->prefix}$table"] = $check->Msg_text;
@@ -53,11 +53,11 @@ if ( !defined('WP_ALLOW_REPAIR') ) {
if ( $okay && $optimize ) {
$check = $wpdb->get_row("ANALYZE TABLE {$wpdb->prefix}$table");
if ( 'Table is already up to date' == $check->Msg_text ) {
- echo "
The {$wpb->prefix}$table table is already optimized.";
+ echo "
The {$wpdb->prefix}$table table is already optimized.";
} else {
$check = $wpdb->get_row("OPTIMIZE TABLE {$wpdb->prefix}$table");
if ( 'OK' == $check->Msg_text || 'Table is already up to date' == $check->Msg_text )
- echo "
Sucessfully optimized the {$wpb->prefix}$table table.";
+ echo "
Sucessfully optimized the {$wpdb->prefix}$table table.";
else
echo "
Failed to optimize the {$wpdb->prefix}$table table. Error: $check->Msg_text";
}