[wp-trac] [WordPress Trac] #49906: REST API: Add basic fields to /themes endpoint

WordPress Trac noreply at wordpress.org
Sun Jun 7 07:26:10 UTC 2020


#49906: REST API: Add basic fields to /themes endpoint
-----------------------------+--------------------------------
 Reporter:  Bernhard Reiter  |       Owner:  TimothyBlynJacobs
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:  5.5
Component:  REST API         |     Version:  5.0
 Severity:  normal           |  Resolution:  fixed
 Keywords:                   |     Focuses:  rest-api
-----------------------------+--------------------------------

Comment (by TimothyBlynJacobs):

 Do you mean how we should be fetching that data or returning that data?

 If fetching, WP_Theme indicates it as [https://github.com/WordPress
 /wordpress-develop/blob/4fb1e58c5049e4e218a77511b8fe468e203e09cb/src/wp-
 includes/class-wp-theme.php#L40 RequiresWP] and we have a
 [https://github.com/WordPress/wordpress-
 develop/commit/4fb1e58c5049e4e218a77511b8fe468e203e09cb#diff-
 813299ed18a2937903f871505cb63665R345 test for it here].

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


More information about the wp-trac mailing list