[wp-trac] [WordPress Trac] #63192: wptexturize add filter for disable some replacement

WordPress Trac noreply at wordpress.org
Fri Mar 28 12:51:40 UTC 2025


#63192: wptexturize add filter for disable some replacement
-----------------------------------------+------------------------------
 Reporter:  jubasik23                    |       Owner:  (none)
     Type:  feature request              |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Formatting                   |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch changes-requested  |     Focuses:
-----------------------------------------+------------------------------
Changes (by audrasjb):

 * keywords:  has-patch => has-patch changes-requested
 * component:  General => Formatting


Comment:

 Hello @jubasik23, welcome to WordPress Core Trac and thanks for the ticket
 and patch,

 The proposed PR only fixes this specific need, which is not sufficient.
 If we want to add a filter, we should pass the whole set of character
 replacements as an argument array, to allow developers to filter each
 replacement character.

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


More information about the wp-trac mailing list