[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 Nov 20 22:27:32 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 needs-unit-tests | Focuses: template,
| performance
----------------------------------------+----------------------------------
Changes (by joemcgill):
* status: reviewing => closed
* resolution: => fixed
Comment:
In [changeset:"57129" 57129]:
{{{
#!CommitTicketReference repository="" revision="57129"
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.
Props partyfrikadelle, coreyw, kdowns, rebasaurus, meta4, flixos90,
mukesh27, joemcgill.
Fixes #59847.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:46>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list