[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
Wed Nov 8 20:31:56 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:                   |     Focuses:  template
-----------------------------+------------------------------
Changes (by coreyw):

 * focuses:  template, performance => template


Comment:

 @flixos90 introduced in #56635.

 @joemcgill reduced test case is simply to use `register_theme_directory()`
 within a must-use plugin, place a theme in that directory, and then
 attempt to activate that theme.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59847#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list