diff --git a/wp-includes/l10n/class-wp-translation-file-mo.php b/wp-includes/l10n/class-wp-translation-file-mo.php index 3f5e72597c..f50c0ec1cf 100644 --- a/wp-includes/l10n/class-wp-translation-file-mo.php +++ b/wp-includes/l10n/class-wp-translation-file-mo.php @@ -154,7 +154,7 @@ class WP_Translation_File_MO extends WP_Translation_File { // Metadata about the MO file is stored in the first translation entry. if ( '' === $original ) { foreach ( explode( "\n", $translation ) as $meta_line ) { - if ( '' === $meta_line ) { + if ( '' === $meta_line || ! str_contains( $meta_line, ':' ) ) { continue; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 28f00871ae..d678e5d561 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.7-alpha-58921'; +$wp_version = '6.7-alpha-58922'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.