[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 00:24:59 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 joemcgill):
Thanks @rebasaurus. I'm curious why the previous approach didn't fix your
issue. However, the best path forward may be to remove the memoization
entirely, which I think was added as a performance optimization and not
specifically needed for #18298. I've added a new PR that reverts these
functions to their previous behavior.
I'd like to get feedback from @flixos90 or @thekt12 about the potential
side effects of removing the memoization, since they worked on the
original ticket.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list