WordPress.org

Support

Support » Plugins and Hacks » 2.3 Broken on bad login (sidebar-login.php on line 112)

2.3 Broken on bad login (sidebar-login.php on line 112)

Viewing 2 replies - 1 through 2 (of 2 total)
  • This appears to fix that line of code (and replace the following as shown), but I’m not sure this is exactly what you intended:

    foreach ($login_errors->get_error_messages() as $error) {
       echo '<div class="login_error">' . $error . "</div>\n";
       break;

    Please advise (and patch). Thanks.

    PS Why is there a break after the first iteration?

    Mike
    Member

    @jolley_small

    Thanks 🙂 theres a break so it display 1 error at a time.

    Will patch.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘2.3 Broken on bad login (sidebar-login.php on line 112)’ is closed to new replies.