diff --git a/wp-admin/maint/repair.php b/wp-admin/maint/repair.php index 9f2c26f14d..96e387e1bc 100644 --- a/wp-admin/maint/repair.php +++ b/wp-admin/maint/repair.php @@ -43,7 +43,7 @@ if ( !defined('WP_ALLOW_REPAIR') ) { 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 {$wpdb->prefix}$table"); if ( 'OK' == $check->Msg_text ) { - echo "
    Sucessfully repaired the {$wpdb->prefix}$table table."; + echo "
    Successfully 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; @@ -57,7 +57,7 @@ if ( !defined('WP_ALLOW_REPAIR') ) { } 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 {$wpdb->prefix}$table table."; + echo "
    Successfully optimized the {$wpdb->prefix}$table table."; else echo "
    Failed to optimize the {$wpdb->prefix}$table table. Error: $check->Msg_text"; }