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

WordPress Trac noreply at wordpress.org
Fri Feb 3 19:37:34 UTC 2023


#57629: Use `get_theme_file_path()` in `wp_theme_has_theme_json()`
-------------------------+--------------------------
 Reporter:  flixos90     |      Owner:  spacedmonkey
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  6.2
Component:  Themes       |    Version:
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+--------------------------
 Follow up to #56975: Potentially the new `wp_theme_has_theme_json()`
 function should rely on `get_theme_file_path()` instead of manually
 checking stylesheet directory and template directory itself.

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


More information about the wp-trac mailing list