From 3e9263588d7037fb65e653d0a0ced882112ae014 Mon Sep 17 00:00:00 2001 From: Pascal Birchler Date: Tue, 30 Jan 2024 14:08:20 +0000 Subject: [PATCH] I18N: Add missing space after `foreach` keyword. Follow-up to [57386]. See #59656. git-svn-id: https://develop.svn.wordpress.org/trunk@57387 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/l10n/class-wp-translation-file.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/l10n/class-wp-translation-file.php b/src/wp-includes/l10n/class-wp-translation-file.php index f920ab1388..8e7bfba1b1 100644 --- a/src/wp-includes/l10n/class-wp-translation-file.php +++ b/src/wp-includes/l10n/class-wp-translation-file.php @@ -213,7 +213,7 @@ abstract class WP_Translation_File { * are used, the entry key will have the format "ProductNULProducts". * Fall back to looking up just "Product" to support this edge case. */ - foreach( $this->entries as $key => $value ) { + foreach ( $this->entries as $key => $value ) { if ( str_starts_with( $key, $text . "\0" ) ) { $parts = explode( "\0", $value ); return $parts[0];