[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
Mon Dec 4 19:57:47 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: closed
Priority: normal | Milestone: 6.4.2
Component: Bootstrap/Load | Version: 6.4
Severity: critical | Resolution: fixed
Keywords: has-patch fixed-major | Focuses: template, performance
-----------------------------------+------------------------------------
Changes (by jorbin):
* status: reopened => closed
* resolution: => fixed
Comment:
In [changeset:"57156" 57156]:
{{{
#!CommitTicketReference repository="" revision="57156"
Themes: Remove memoization from stylesheet and theme directories.
This fixes bugs introduced in [56635] whereby the template or stylesheet
path could be memoized incorrectly if get_template_directory() or
get_stylesheet_directory() were called before the theme has been fully
initialized.
Reviewed by Jorbin.
Merges [57129] to 6.4 branch.
Props partyfrikadelle, coreyw, kdowns, rebasaurus, meta4, flixos90,
mukesh27, joemcgill, icaleb.
Fixes #59847.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:50>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list