[wp-trac] [WordPress Trac] #45611: REST API: Attachment controller calls undefined parent method
WordPress Trac
noreply at wordpress.org
Thu Jan 24 18:39:13 UTC 2019
#45611: REST API: Attachment controller calls undefined parent method
----------------------------------------+---------------------
Reporter: dlh | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: 5.2
Component: REST API | Version: 4.7
Severity: normal | Resolution:
Keywords: has-patch needs-unit-tests | Focuses:
----------------------------------------+---------------------
Comment (by kadamwhite):
Update: After searching through the plugin directory I do not see any
usage of this method. (Every occurrence of
`validate_user_can_query_private_statuses` is in relation to a plugin-
defined local class method, all of them copy-pasted from the original V2
REST API and none of which reference this controller or any parent.) On
those grounds I'm going to agree with @pento that I think we can remove it
entirely.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/45611#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list