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. Built from https://develop.svn.wordpress.org/branches/5.8@51515 git-svn-id: http://core.svn.wordpress.org/branches/5.8@51126 1a063a9b-81f0-0310-95a4-ce76da25c4cd
- Loading branch information