rebase code on oct-10-2023

This commit is contained in:
Rachit Bhargava
2023-10-10 17:51:46 -04:00
parent b16ad94b69
commit 8f1a2c3a66
2197 changed files with 184921 additions and 35568 deletions

View File

@@ -141,7 +141,7 @@ class DBRepair {
return sprintf(
wp_kses( /* translators: %1$s - missing table name; %2$s - error message. */
__( '<strong>Table:</strong> %1$s. <strong>Reason:</strong> %2$s', 'wp-mail-smtp' ),
__( '<strong>Table</strong> %1$s: <strong>Reason</strong> %2$s', 'wp-mail-smtp' ),
[
'strong' => [],
]
@@ -197,16 +197,6 @@ class DBRepair {
_n( 'Table is', 'Tables are', count( $missing_tables ), 'wp-mail-smtp' ),
implode( '<br/>', $reasons )
);
$msg = sprintf(
wp_kses(
_n( 'The following DB table is still missing.', 'The following DB tables are still missing.', count( $missing_tables ), 'wp-mail-smtp' ) . '<br />%s',
[
'br' => [],
]
),
implode( '<br/>', $reasons )
);
} else {
$msg = esc_html__( 'Some DB Tables are still missing.', 'wp-mail-smtp' );
}