Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #43946, comment 12


Ignore:
Timestamp:
01/18/2026 06:27:31 AM (4 weeks ago)
Author:
sajib1223
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43946, comment 12

    initial v1  
    1 Removing `needs-testing` - awaiting new patch.
     1== Reproduction Report
     2=== Description
     3This report validates whether the issue can be reproduced.
     4
     5=== Environment
     6- WordPress: 6.9
     7- PHP: 8.3.29
     8- Server: nginx/1.27.5
     9- Database: mysqli (Server: 8.0.33 / Client: mysqlnd 8.3.29)
     10- Browser: Firefox 147.0
     11- OS: Windows 10/11
     12- Theme: Twenty Twenty-Five 1.4
     13- MU Plugins:
     14  * Object Cache Pro (MU) 1.19.0
     15- Plugins:
     16  * Test Reports 1.2.1
     17
     18=== Actual Results
     191.  ✅ Error condition occurs (reproduced).
     20
     21=== Steps to reproduce
     221. Install fresh WordPress installation
     232. Navigate to the default "Hello world!" post as administrator
     243. Submit comment: `This is great & awesome`
     254. Log out
     265. Navigate to the same post as a visitor (logged out)
     276. Submit comment: `This is great & awesome`
     287. Check the `wp_comments` table in the database
     29
     30=== Additional Notes
     31Comments are stored inconsistently in the `comment_content` field depending on authentication status:
     32
     33- **Logged-out user:** HTML entities are escaped (`&` becomes `&`)
     34- **Logged-in user:** HTML entities are stored unescaped (raw `&`)
     35
     36
     37=== Supplemental Artifacts
     38Database query results showing the inconsistency:
     39
     40[[Image(https://files.catbox.moe/jvqr9x.png)]]