[wp-trac] [WordPress Trac] #55213: Respect _fields query arg in preloaded requests

WordPress Trac noreply at wordpress.org
Tue Apr 19 14:38:32 UTC 2022


#55213: Respect _fields query arg in preloaded requests
--------------------------------------+---------------------
 Reporter:  jsnajdr                   |       Owner:  gziolo
     Type:  enhancement               |      Status:  closed
 Priority:  normal                    |   Milestone:  6.0
Component:  REST API                  |     Version:  5.9
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------
Changes (by gziolo):

 * owner:  (none) => gziolo
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"53217" 53217]:
 {{{
 #!CommitTicketReference repository="" revision="53217"
 REST API: Respect _fields query arg in preloaded requests

 Ensures that preloaded request can include a `_fields` query param that
 asks that only selected response fields are returned.

 Props jsnajdr, timothyblynjacobs.
 Fixes #55213.
 See #55567.
 }}}

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


More information about the wp-trac mailing list