[wp-trac] [WordPress Trac] #60427: small "ü" in page as anchor causes a mistake when try to save (wrong JSON-response)

WordPress Trac noreply at wordpress.org
Fri Aug 1 10:14:40 UTC 2025


#60427: small "ü" in page as anchor causes a mistake when try to save (wrong JSON-
response)
-------------------------------+---------------------------------
 Reporter:  gregordoehnert     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  assigned
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Posts, Post Types  |     Version:  6.4.3
 Severity:  minor              |  Resolution:
 Keywords:  needs-patch        |     Focuses:  ui, administration
-------------------------------+---------------------------------

Comment (by lakshyajeet):

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

 === Environment
 - WordPress: 6.9-alpha-60272
 - PHP: 8.2.28
 - Server: Apache/2.4.62 (Debian)
 - Database: mysqli (Server: 11.4.7-MariaDB-ubu2404 / Client: mysqlnd
 8.2.28)
 - Browser: Chrome 138.0.0.0
 - OS: macOS
 - Theme: Twenty Twenty-Five 1.2
 - MU Plugins:
 - Plugins:
   * Gutenberg 21.3.0-rc.1
   * Test Reports 1.2.0

 === Reproduction Steps
 1. Navigate to Posts -> Add Post.
 2. Insert any block and set its HTML Anchor to {{{ü}}}
 3. Insert a Custom HTML block and add the following content.
 {{{
 <a href="#ü">Test123</a>
 }}}
 4. Click Publish or Save to save the post.
 5. Observe whether a JSON error appears.


 === Actual Results
 1. ❌ Issue not reproduced.
 2. ✅ Page saved successfully without errors.
 3. ✅ Anchor tags with lowercase ü rendered correctly in the editor and
 front-end.

 === Additional Notes
 No browser console errors or network request failures observed.

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


More information about the wp-trac mailing list