[wp-trac] [WordPress Trac] #43946: Inconsistent encoding of comment_content

WordPress Trac noreply at wordpress.org
Wed Oct 22 04:59:25 UTC 2025


#43946: Inconsistent encoding of comment_content
---------------------------------------+------------------------------
 Reporter:  leewillis77                |       Owner:  (none)
     Type:  defect (bug)               |      Status:  new
 Priority:  normal                     |   Milestone:  Awaiting Review
Component:  Comments                   |     Version:  4.9.5
 Severity:  normal                     |  Resolution:
 Keywords:  needs-testing needs-patch  |     Focuses:
---------------------------------------+------------------------------

Comment (by sabernhardt):

 If the comment needs to normalize entities like the ampersand before
 saving it to the database, `wp_kses_normalize_entities()` might fit.

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


More information about the wp-trac mailing list