WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #15473


Ignore:
Timestamp:
11/18/2010 07:10:57 PM (11 years ago)
Author:
Otto42
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #15473 – Description

    initial v1  
    1 In the wp_signon function, the action hook for wp_login in called like this:
    2 do_action('wp_login', $credentials['user_login']);
     1In the wp_signon function, the action hook for wp_login is called like this:
     2`do_action('wp_login', $credentials['user_login']);`
    33
    4 Problem is that $credentials['user_login'] is the content of the form field passed to it by the login screen. If an alternate authentication mechanism is used (like via Twitter or Facebook), then the action does not get the resulting user name that is logging in.
     4Problem is that `$credentials['user_login']` is the content of the form field passed to it by the login screen. If an alternate authentication mechanism is used (like via Twitter or Facebook), then the action does not get the resulting user name that is logging in.
    55
    66Fix: