[wp-trac] [WordPress Trac] #64464: Does Not Escape the Ampersand when It Appears in Something that Looks Like Escape Codes

WordPress Trac noreply at wordpress.org
Fri Jan 2 01:29:51 UTC 2026


#64464: Does Not Escape the Ampersand when It Appears in Something that Looks Like
Escape Codes
--------------------------+------------------------------
 Reporter:  chiarella86   |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by chiarella86):

 Yes, that is what I am expecting. I am using 6.8.3 of WordPress through a
 host. The customer service says this issue (which I first noticed in the
 RSS of the host-provided plugin) is upstream, with WordPress itself.

 Apparently, since I had tested this, the hexadecimal escape codes work, as
 you can see in that screenshot. I found the issue and made some text to
 put in and test a while ago and simply forgot to file this with anybody.

 If it worked for you, then it is probably because you had the paragraph
 block. My workflow has been fully in classic mode. The block mode, in my
 experience the past decade, is way too bloated and everything slows to a
 crawl, things crash, and I lose work. I never went anywhere near it again.

 And so, it seems that the paragraph block (which is the default for many
 users today) fixes this issue, and the Classic mode bug never got noticed.
 That answers my question as to how this was not reported years ago. Most
 outlets would just furnish new thousand-dollar computers everywhere and
 just be “modern” with blocks and not care about computing resources.

 I am as low resource as I can while still staying the GUI world. I run
 XFCE on Linux on old equipment. Waste not want not, etc.

 Thank you for testing that. At least for my experience, the problem
 persists with WordPress 6.8.3 for named XML escape codes and for decimal
 XML escape codes.

 (I cannot remember the original situation that brought this up, but I
 often find myself using some Markdown or whatever accidentally and having
 my board posts or web posts get messed up because I accidentally triggered
 some formatting change or I had sections between quotes or angle brackets
 just disappear entirely. In a way, I am obsessed with foolproofing
 WordPress. I just wish I knew how to program!)

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


More information about the wp-trac mailing list