Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#43205 new feature request

Allow filtering the list of characters to be replaced by wptexturize

Reported by: cyclic's profile cyclic Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Formatting Keywords:
Focuses: Cc:


I'd like to selectively disable the replacement of a subset of the characters replaced by wptexturize.

There are already filters to control which html tags & shortcodes are exempt from being texturized: no_texturize_shortcodes & no_texturize_tags.

I think a similar filter should exist to control which characters are texturized. This filter would take at least two parameters: $dynamic_characters & $dynamic_replacements.

I am interested in writing a patch if you'll consider it. Would this enhancement be acceptable?

Change History (1)

#1 @pento
5 years ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.