[wp-trac] [WordPress Trac] #55714: & stored as & for Post Title and Excerpt in Editor

WordPress Trac noreply at wordpress.org
Mon Jun 30 07:34:32 UTC 2025


#55714: & stored as & for Post Title and Excerpt in Editor
-------------------------------------------+------------------------------
 Reporter:  kapilpaul                      |       Owner:  (none)
     Type:  defect (bug)                   |      Status:  reopened
 Priority:  normal                         |   Milestone:  Awaiting Review
Component:  Editor                         |     Version:
 Severity:  normal                         |  Resolution:
 Keywords:  has-test-info has-screenshots  |     Focuses:
-------------------------------------------+------------------------------
Changes (by sukhendu2002):

 * keywords:  has-test-info => has-test-info has-screenshots


Comment:

 == Reproduction Report
 === Description
 This report validates whether the issue can be reproduced.

 === Environment
 - WordPress: 6.9-alpha-60093-src
 - PHP: 8.2.28
 - Server: nginx/1.29.0
 - Database: mysqli (Server: 8.4.5 / Client: mysqlnd 8.2.28)
 - Browser: Chrome 137.0.0.0
 - OS: macOS
 - Theme: Twenty Fourteen 4.2
 - MU Plugins: None activated
 - Plugins:
   * Test Reports 1.2.0

 === Steps to Reproduce
 1. Disabled Gutenberg editor and ensured Classic Editor was active
 2. Logged in as an Author user (not Admin)
 3. Used a non-block based theme (Twenty Fourteen)
 4. Created new post with title and excerpt containing ampersands: "Hello &
 Welcome to WordPress"
 5. Saved the post
 6. Examined the saved post


 === Actual Results
 ❌ Error condition does NOT occur.
 Both the title and excerpt correctly display the ampersand character "&"
 rather than as "&".


 === Supplemental Artefacts
 [[Image(https://utfs.io/f/o9kzPXfbC7I8dxA1iqsE7YMe4dTBL2GjorJZ5VXtOI8mASxs)]]

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


More information about the wp-trac mailing list