| 1 | | Removing `needs-testing` - awaiting new patch. |
| | 1 | == Reproduction Report |
| | 2 | === Description |
| | 3 | This 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 |
| | 19 | 1. ✅ Error condition occurs (reproduced). |
| | 20 | |
| | 21 | === Steps to reproduce |
| | 22 | 1. Install fresh WordPress installation |
| | 23 | 2. Navigate to the default "Hello world!" post as administrator |
| | 24 | 3. Submit comment: `This is great & awesome` |
| | 25 | 4. Log out |
| | 26 | 5. Navigate to the same post as a visitor (logged out) |
| | 27 | 6. Submit comment: `This is great & awesome` |
| | 28 | 7. Check the `wp_comments` table in the database |
| | 29 | |
| | 30 | === Additional Notes |
| | 31 | Comments 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 |
| | 38 | Database query results showing the inconsistency: |
| | 39 | |
| | 40 | [[Image(https://files.catbox.moe/jvqr9x.png)]] |