Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
I18n: Fix broken loop in
WP_Theme_JSON_Resolver
Related issue in Gutenberg: WordPress/gutenberg#33552. The loop in `WP_Theme_JSON_Resolver` to extract translatable paths was broken, as it contained an immediate and unconditional return. This caused the loop to immediately exit again after the first iteration, thus never actually looping. Follow-up to [50959]. Props schlessera. Merges [51472] to the 5.8 branch. Fixes #53738. git-svn-id: https://develop.svn.wordpress.org/branches/5.8@51515 602fd350-edb4-49c9-b593-d223f7449a82
- Loading branch information