Ticket #27130: 27130.patch
| File 27130.patch, 604 bytes (added by , 12 years ago) |
|---|
-
src/wp-includes/user.php
22 22 * @param bool $secure_cookie Optional. Whether to use secure cookie. 23 23 * @return object Either WP_Error on failure, or WP_User on success. 24 24 */ 25 function wp_signon( $credentials = '', $secure_cookie = '' ) {25 function wp_signon( $credentials = array(), $secure_cookie = '' ) { 26 26 if ( empty($credentials) ) { 27 27 if ( ! empty($_POST['log']) ) 28 28 $credentials['user_login'] = $_POST['log'];