[wp-trac] [WordPress Trac] #58460: Add `wp_get_remote_theme_patterns` function

WordPress Trac noreply at wordpress.org
Mon Jun 5 16:07:34 UTC 2023


#58460: Add `wp_get_remote_theme_patterns` function
-------------------------+-----------------------
 Reporter:  oandregal    |      Owner:  oandregal
     Type:  enhancement  |     Status:  assigned
 Priority:  normal       |  Milestone:  6.3
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:  has-patch
  Focuses:               |
-------------------------+-----------------------
 Part of https://github.com/WordPress/gutenberg/issues/45171


 **What**

 Add a new public function, `wp_get_remote_theme_patterns` to query the
 `patterns` datum from `theme.json` and substitutes current usage of
 private APIs.

 **Why?**

 We need to offer public APIs for consumers to add the data they need, so
 they don't resort to using private APIs.

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


More information about the wp-trac mailing list