[wp-trac] [WordPress Trac] #59847: Since WordPress 6.4, the functions.php of a theme moved to a different location using register_theme_directory is no longer called
WordPress Trac
noreply at wordpress.org
Wed Nov 8 23:25:21 UTC 2023
#59847: Since WordPress 6.4, the functions.php of a theme moved to a different
location using register_theme_directory is no longer called
-----------------------------+------------------------------------
Reporter: partyfrikadelle | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Bootstrap/Load | Version: 6.4
Severity: critical | Resolution:
Keywords: has-patch | Focuses: template, performance
-----------------------------+------------------------------------
Comment (by kdowns):
@joemcgill That does seem to tack as a possible solution.
A local bypass I've been able to validate is to call the global variable
in my plugin and run a comparison against what I'm expecting. If the
values do not match, I'm simply redefining the global. I don't like this
solution but it's working as a temporary option that's within my control
on the plugin side of things. I'd rather wp hooks just work as expected,
lol.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list