[wp-trac] [WordPress Trac] #57629: Use `get_theme_file_path()` in `wp_theme_has_theme_json()`

WordPress Trac noreply at wordpress.org
Tue Jun 27 19:41:02 UTC 2023


#57629: Use `get_theme_file_path()` in `wp_theme_has_theme_json()`
------------------------------------+---------------------------
 Reporter:  flixos90                |       Owner:  spacedmonkey
     Type:  enhancement             |      Status:  reopened
 Priority:  normal                  |   Milestone:  6.3
Component:  Themes                  |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch dev-feedback  |     Focuses:
------------------------------------+---------------------------

Comment (by oglekler):

 Loaded functions should not depend on whether global debug constants are
 defined or not 🤔 If this is the case, we need to solve this too. Am I
 missing something architectural?

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


More information about the wp-trac mailing list