[wp-trac] [WordPress Trac] #37332: Enhancement: Add a wrong password message on password protected posts

WordPress Trac noreply at wordpress.org
Tue Jan 28 12:06:48 UTC 2025


#37332: Enhancement: Add a wrong password message on password protected posts
-------------------------------------------------+-------------------------
 Reporter:  henry.wright                         |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  6.8
Component:  Posts, Post Types                    |     Version:  4.5.3
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing has-         |     Focuses:
  testing-info                                   |  accessibility
-------------------------------------------------+-------------------------

Comment (by jdahir0789):

 Thank you, @audrasjb, for reopening the ticket. I’ve taken the time to
 test the proposed patch, and I’m providing more details below:


 == Steps to Reproduce:

 Create a password-protected post.
 Navigate to the post URL as a visitor.
 Enter an incorrect password in the password field and submit.


 == Observed Behavior:

 The page reloads without any feedback, as described in the ticket.


 == Tested Patch Results:

 After applying the patch, a helpful error message ("Incorrect password")
 is displayed when an incorrect password is entered, improving user
 experience and accessibility.


 Please let me know if further details or additional testing are needed.

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


More information about the wp-trac mailing list