[wp-trac] [WordPress Trac] #64274: wp.sanitize.stripTags could rely on the browser for HTML parsing

WordPress Trac noreply at wordpress.org
Thu Nov 20 18:00:22 UTC 2025


#64274: wp.sanitize.stripTags could rely on the browser for HTML parsing
-------------------------+-------------------------
 Reporter:  dmsnell      |       Owner:  dmsnell
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  7.0
Component:  General      |     Version:  4.2
 Severity:  normal       |  Resolution:
 Keywords:  needs-patch  |     Focuses:  javascript
-------------------------+-------------------------
Changes (by dmsnell):

 * status:  new => assigned
 * focuses:   => javascript
 * version:   => 4.2
 * milestone:  Future Release => 7.0
 * owner:  (none) => dmsnell
 * type:  defect (bug) => enhancement


Comment:

 sounds good @hbhalodia; looking forward to your PR

 looks like this came in through [31534], but that itself //might// have
 been influenced by `Prototype.js` which was added in 2006. nice
 longstanding opportunity 😉

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


More information about the wp-trac mailing list