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

WordPress Trac noreply at wordpress.org
Tue Aug 27 14:45:23 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 itowhid06):

 What I was about to say has been told. I think `public function
 check_authentication( $request = array() )` should mitigate the Backward
 Compatibility issue.

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


More information about the wp-trac mailing list