[wp-trac] [WordPress Trac] #63154: Fatal error when moderation hash is given as array

WordPress Trac noreply at wordpress.org
Mon Mar 24 11:54:51 UTC 2025


#63154: Fatal error when moderation hash is given as array
------------------------------------------+------------------------------
 Reporter:  leedxw                        |       Owner:  (none)
     Type:  defect (bug)                  |      Status:  new
 Priority:  normal                        |   Milestone:  Awaiting Review
Component:  General                       |     Version:
 Severity:  normal                        |  Resolution:
 Keywords:  needs-testing-info has-patch  |     Focuses:
------------------------------------------+------------------------------
Changes (by SirLouen):

 * keywords:   => needs-testing-info has-patch


Comment:

 == Reproduction Report
 === Description
 This report can't validate that the issue can be reproduced.

 === Environment
 - WordPress: 6.8-beta3-60042-src
 - PHP: 8.2.28
 - Server: nginx/1.27.4
 - Database: mysqli (Server: 8.4.4 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 134.0.0.0
 - OS: Windows 10/11
 - Theme: My Twenty Twenty Child Theme 1.0
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Testing Steps:
 1. Create a new page with comments enabled, called page with comments
 2. Do a GET request witht he following URL:
 https://root_address/page-with-comments/
 with the two following parameters
 `moderation-hash[] = 0cdbea79cf8fc31fe70f8d06581b06a8`
 `unapproved = 21`
 3. Nothing happens

 === Actual Results
 1. ❌ Error condition doesn't occur

 === Additional Information
 @leedxw can you provide further and more detailed instructions to
 reproduce this bug?

 === Supplemental Artifacts
 [[Image(https://i.imgur.com/TVKCoAM.png)]]

 [[Image(https://i.imgur.com/jhq6czX.png)]]

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


More information about the wp-trac mailing list