[wp-trac] [WordPress Trac] #43874: REST API: Only render fields specific to request when _fields= is used

WordPress Trac noreply at wordpress.org
Thu Apr 26 23:19:49 UTC 2018


#43874: REST API: Only render fields specific to request when _fields= is used
-----------------------------+------------------------------------
 Reporter:  danielbachhuber  |       Owner:  (none)
     Type:  defect (bug)     |      Status:  new
 Priority:  normal           |   Milestone:  4.9.6
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:  rest-api, performance
-----------------------------+------------------------------------

Comment (by danielbachhuber):

 @pento I've done a first pass applying this to the Users controller with
 https://github.com/WordPress/wordpress-develop/pull/12

 There's a good amount of code churn. If you're amenable to the direction
 I'm headed, I'll continue applying to the other controllers.

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


More information about the wp-trac mailing list