[wp-trac] [WordPress Trac] #45605: REST API: Avoid DB queries from generating sample permalink when possible
WordPress Trac
noreply at wordpress.org
Wed Dec 12 19:06:37 UTC 2018
#45605: REST API: Avoid DB queries from generating sample permalink when possible
--------------------------+------------------------------
Reporter: dlh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: 5.0
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by TimothyBlynJacobs):
As an initial impression, I would be +1 to accounting for the `context` in
`get_fields_for_response()`. I think any BC breaks due to selective
including of fields at the controller level would have already happened
when implementing `get_fields_for_response()` in the first place.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45605#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list