[wp-trac] [WordPress Trac] #26706: Allow custom authentication handlers for all requests

WordPress Trac noreply at wordpress.org
Tue Mar 4 20:09:39 UTC 2014


#26706: Allow custom authentication handlers for all requests
------------------------------+------------------
 Reporter:  rmccue            |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  3.9
Component:  Users             |     Version:
 Severity:  minor             |  Resolution:
 Keywords:  has-patch commit  |     Focuses:
------------------------------+------------------

Comment (by willnorris):

 ah, good point.  I overlooked that it's filtering on the ID, not the user
 object.  That does make 'current_user' slightly less descriptive.

 Though I'm not sure that this filter only being called on initialization
 rather than every wp-get_current_user() call matters that much... is there
 really a case where the current user changes during the course of a
 request?

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


More information about the wp-trac mailing list