[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
Thu Nov 9 15:45:05 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
-----------------------------+------------------------------------
Changes (by joemcgill):
* keywords: has-patch needs-unit-tests => has-patch
Comment:
I've updated the latest PR to clean up some places where the newly
introduced globals are now unnecessary. @jorbin I'll work on some unit
tests that demonstrate the problem, but it's a bit difficult to reproduce
in a test.
In the mean time, for anyone who is struggling with this issue, I've put
together a quick plugin that you can install that should help.
https://gist.github.com/joemcgill/dd569c287013ad545f41495f93d7a27e
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:32>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list