Make WordPress Core

Ticket #37071: fix-wp-login-error.patch

File fix-wp-login-error.patch, 366 bytes (added by simonvik, 8 years ago)

Attached patch that might solve the issue.

  • wp-login.php

    diff --git a/wp-login.php b/wp-login.php
    index 9a8a059..46f1507 100644
    a b default: 
    790790
    791791        $reauth = empty($_REQUEST['reauth']) ? false : true;
    792792
    793         $user = wp_signon( '', $secure_cookie );
     793        $user = wp_signon( array(), $secure_cookie );
    794794
    795795        if ( empty( $_COOKIE[ LOGGED_IN_COOKIE ] ) ) {
    796796                if ( headers_sent() ) {