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

WordPress Trac noreply at wordpress.org
Wed Jan 29 07:06:54 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 dhruvang21):

 == Test Report
 === Description
 This report validates whether the indicated patch works as expected.

 Patch tested:
 https://core.trac.wordpress.org/attachment/ticket/37332/37332.3.diff

 === Environment
 - WordPress: 6.8-alpha-59274-src
 - PHP: 8.2.22
 - Server: nginx/1.27.0
 - Database: mysqli (Server: 8.0.39 / Client: mysqlnd 8.2.22)
 - Browser: Chrome 128.0.0.0
 - OS: Linux
 - Theme: Twenty Twenty 2.8
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Actual Results
 1.  ✅ Issue resolved with patch.

 === Additional Notes
 - @joedolson i think we can use wp_rand function instead of rand as the
 PHPCS suggest

 === Supplemental Artifacts
 Added as Attachment

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


More information about the wp-trac mailing list