[wp-trac] [WordPress Trac] #62244: Just-in-time translation loading for plugins/themes not in the directory
WordPress Trac
noreply at wordpress.org
Wed Nov 27 12:22:22 UTC 2024
#62244: Just-in-time translation loading for plugins/themes not in the directory
--------------------------------------+-------------------------
Reporter: swissspidy | Owner: swissspidy
Type: enhancement | Status: reopened
Priority: normal | Milestone: 6.8
Component: I18N | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-dev-note | Focuses:
--------------------------------------+-------------------------
Comment (by swissspidy):
Ah! That explains it! Thanks for sharing.
The theme defines `$theme` in its `functions.php` file, which overrides
the `$theme` variable from the `foreach` loop.
Here's a PR that fixes this: https://github.com/WordPress/wordpress-
develop/pull/7901
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62244#comment:18>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list