[wp-trac] [WordPress Trac] #46907: Pass current request object to rest_authentication_errors filter

WordPress Trac noreply at wordpress.org
Thu Aug 1 20:10:13 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):

 @ocean90 Can you provide a concrete example of functionality which is
 prevented by omitting the request argument? I'm not sure I entirely
 understand why we need to be able to determine request context here, it
 feels like a separate concern to authentication.

 Additionally, while I know we're slow to respond on these issues sometimes
 I'm somewhat surprised that you landed this without a +1 from a component
 maintainer.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/46907#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list