[wp-trac] [WordPress Trac] #48266: REST API: logic used to filter nested _fields does not account for specifying multiple siblings

WordPress Trac noreply at wordpress.org
Thu Oct 10 17:16:56 UTC 2019


#48266: REST API: logic used to filter nested _fields does not account for
specifying multiple siblings
--------------------------------------+-------------------------
 Reporter:  kadamwhite                |       Owner:  kadamwhite
     Type:  defect (bug)              |      Status:  closed
 Priority:  normal                    |   Milestone:  5.3
Component:  REST API                  |     Version:  trunk
 Severity:  normal                    |  Resolution:  fixed
 Keywords:  has-unit-tests has-patch  |     Focuses:  rest-api
--------------------------------------+-------------------------
Changes (by kadamwhite):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"46456" 46456]:
 {{{
 #!CommitTicketReference repository="" revision="46456"
 REST API: Fix error in _fields filtering logic where only one of several
 requested sibling properties would be included.

 Props kadamwhite, TimothyBlynJacobs.
 Fixes #48266.
 }}}

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


More information about the wp-trac mailing list