Changeset 37697
- Timestamp:
- 06/14/2016 03:33:06 PM (8 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/user.php
r37544 r37697 28 28 function wp_signon( $credentials = array(), $secure_cookie = '' ) { 29 29 if ( empty($credentials) ) { 30 $credentials = array(); // Back-compat for plugins passing an empty string. 31 30 32 if ( ! empty($_POST['log']) ) 31 33 $credentials['user_login'] = $_POST['log']; -
trunk/src/wp-login.php
r37535 r37697 791 791 $reauth = empty($_REQUEST['reauth']) ? false : true; 792 792 793 $user = wp_signon( '', $secure_cookie );793 $user = wp_signon( array(), $secure_cookie ); 794 794 795 795 if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
Note: See TracChangeset
for help on using the changeset viewer.