[wp-trac] [WordPress Trac] #49648: _fields parameter doesn't get nested proprieties from custom attribute
WordPress Trac
noreply at wordpress.org
Thu Mar 26 17:50:52 UTC 2020
#49648: _fields parameter doesn't get nested proprieties from custom attribute
--------------------------------------+-------------------------
Reporter: Dudo | Owner: kadamwhite
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 5.5
Component: REST API | Version: 5.3
Severity: minor | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: rest-api
--------------------------------------+-------------------------
Changes (by kadamwhite):
* status: accepted => closed
* resolution: => fixed
Comment:
In [changeset:"47511" 47511]:
{{{
#!CommitTicketReference repository="" revision="47511"
REST API: Fix _fields filtering of registered rest fields.
Use rest_is_field_included when determining which additional fields to
include to permit filtering by nested field properties.
Props Dudo, kadamwhite, TimothyBlynJacobs.
Fixes #49648.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/49648#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list