[wp-trac] [WordPress Trac] #58401: WP_Theme_JSON_Data::get_data() but for parent theme

WordPress Trac noreply at wordpress.org
Thu May 25 09:13:21 UTC 2023


#58401: WP_Theme_JSON_Data::get_data() but for parent theme
-----------------------------+-------------------------------
 Reporter:  benniledl        |      Owner:  (none)
     Type:  feature request  |     Status:  new
 Priority:  normal           |  Milestone:  Awaiting Review
Component:  General          |    Version:
 Severity:  trivial          |   Keywords:  changes-requested
  Focuses:                   |
-----------------------------+-------------------------------
 Hello,
 functions to return files or paths like get_stylesheet_directory_uri or
 get_template_directory_uri exist for both to return the path to the child-
 theme or the parent-theme.
 It would be nice to have a method like WP_Theme_JSON_Data::get_data() to
 return the parent-theme's theme.json not only the child's

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


More information about the wp-trac mailing list