[wp-trac] [WordPress Trac] #63881: KSES: Deprecate wp_kses_stripslashes

WordPress Trac noreply at wordpress.org
Tue Sep 2 23:36:02 UTC 2025


#63881: KSES: Deprecate wp_kses_stripslashes
------------------------------------------------+--------------------------
 Reporter:  jonsurrell                          |       Owner:  (none)
     Type:  enhancement                         |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
                                                |  Review
Component:  General                             |     Version:
 Severity:  normal                              |  Resolution:
 Keywords:  2nd-opinion dev-feedback has-patch  |     Focuses:
------------------------------------------------+--------------------------

Comment (by dmsnell):

 The logic seems sound and I like the combination of deprecating //and//
 trying to prevent further corruption.

 Are we introducing any changed or new behaviors by trying to avoid double-
 stripping? I don’t have any good bearing on how this could go wrong?

 For instance, do we know of any current workarounds to the Core behavior?
 Was there a case that brought this to your attention? I guess it was the
 issue with block attributes ending in `/`?

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


More information about the wp-trac mailing list