[wp-trac] [WordPress Trac] #46907: Pass current request object to rest_authentication_errors filter
WordPress Trac
noreply at wordpress.org
Tue Aug 13 18:35:37 UTC 2019
#46907: Pass current request object to rest_authentication_errors filter
-------------------------+-----------------------
Reporter: ocean90 | Owner: ocean90
Type: enhancement | Status: reopened
Priority: normal | Milestone: 5.3
Component: REST API | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses: rest-api
-------------------------+-----------------------
Comment (by kadamwhite):
Discussed again in
[https://wordpress.slack.com/archives/C02RQC26G/p1565721079251800 ticket
scrub today]; I think the issue here is that we're using a strange pattern
in the JWT plugin, and not that the logic here is incorrect. The
authentication check should just be determining the current user. I'm
inclined to revert this.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/46907#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list