[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 08:57:26 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 partyfrikadelle):
Replying to [comment:19 joemcgill]:
> I've put together a [https://github.com/WordPress/wordpress-
develop/pull/5642 proof of concept PR] that seems to fix the original
issue, by making sure that those functions only memoize the paths when
called after plugins have loaded.
>
>
> @kdowns I'm curious if this approach would address your issue as well?
Both Patches work perfectly on my setup.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list