[wp-trac] [WordPress Trac] #38131: REST API: Provide interface to include or exclude specific fields from response JSON

WordPress Trac noreply at wordpress.org
Thu Oct 5 18:14:02 UTC 2017


#38131: REST API: Provide interface to include or exclude specific fields from
response JSON
---------------------------------------------+--------------------------
 Reporter:  kadamwhite                       |       Owner:  kadamwhite
     Type:  enhancement                      |      Status:  closed
 Priority:  normal                           |   Milestone:  4.9
Component:  REST API                         |     Version:  4.4
 Severity:  normal                           |  Resolution:  fixed
 Keywords:  commit has-unit-tests has-patch  |     Focuses:  performance
---------------------------------------------+--------------------------

Comment (by svrooij):

 Implementing this would render my plugin obsolete, but I’m glad that there
 is some attention to this in the core. As a plugin developer it wasn’t
 easy to implement filtering fields that would be queried from the
 database.

 But I still think that there could be a speed improvement if for instance
 the_content where not the be retrieved from the database (or properly
 rendered).
 Is there anything I can help with? Or do you need some input on something?

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


More information about the wp-trac mailing list