mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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
This commit is contained in:
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user