[wp-trac] [WordPress Trac] #46748: authenticate filter hook does not behave as expected for priority values less than 20

WordPress Trac noreply at wordpress.org
Tue Apr 2 10:26:22 UTC 2019


#46748: authenticate filter hook does not behave as expected for priority values
less than 20
------------------------------------+------------------------------
 Reporter:  robert.peake            |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  Awaiting Review
Component:  Login and Registration  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:                          |     Focuses:
------------------------------------+------------------------------

Comment (by robert.peake):

 In the longer term, could `wp_authenticate_username_password` have its
 priority lowered (and all other auth-specific core functionality that
 needs to fire before it be likewise lowered) so that hooking into
 `authenticate` with the default priority value of 10 behaves as expected?

 Could a proof-of-concept conceivably be created as a plugin to demonstrate
 this functionality? Or is it too intrinsic to core?

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


More information about the wp-trac mailing list