[wp-trac] [WordPress Trac] #59983: wp-login.php: login messages/errors

WordPress Trac noreply at wordpress.org
Wed Nov 29 09:33:14 UTC 2023


#59983: wp-login.php: login messages/errors
------------------------------------+-----------------------------
 Reporter:  mapumba                 |       Owner:  SergeyBiryukov
     Type:  defect (bug)            |      Status:  closed
 Priority:  normal                  |   Milestone:  6.4.2
Component:  Login and Registration  |     Version:  trunk
 Severity:  normal                  |  Resolution:  fixed
 Keywords:                          |     Focuses:
------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * owner:  (none) => SergeyBiryukov
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"57142" 57142]:
 {{{
 #!CommitTicketReference repository="" revision="57142"
 Login and Registration: Use correct variable to display a single error
 message.

 When the `wp_login_errors` filter is used to add an error message followed
 by an instructional message, the former was not displayed and the latter
 was errouneously displayed twice above the login form.

 This commit ensures that the error message is displayed as expected.

 Follow-up to [56654].

 Props mapumba.
 Fixes #59983.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59983#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list