[wp-trac] [WordPress Trac] #38378: Remove the `filter` parameter in the Post Controller
WordPress Trac
noreply at wordpress.org
Wed Oct 26 11:12:58 UTC 2016
#38378: Remove the `filter` parameter in the Post Controller
-------------------------------------+------------------------------
Reporter: websupporter | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch needs-refresh | Focuses:
-------------------------------------+------------------------------
Comment (by kadamwhite):
Technically if somebody has de-registered `per_page` as a valid parameter,
they're probably extending this to write their own endpoint and have
voided their pagination warrantee in the process. I'm not sure it makes
sense to me to special-case this, when so many other properties that the
API depends upon for proper functioning are whitelisted in the same
general way using `$registered`. I would defer to @rmccue and @joehoyle on
this, though.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38378#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list