[wp-trac] [WordPress Trac] #32380: WPTexturize doesn't handle locale switching properly
WordPress Trac
noreply at wordpress.org
Thu May 28 18:54:32 UTC 2015
#32380: WPTexturize doesn't handle locale switching properly
--------------------------+------------------------------
Reporter: ivanblagdan | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Formatting | Version: 4.2.2
Severity: normal | Resolution:
Keywords: wptexturize | Focuses:
--------------------------+------------------------------
Comment (by miqrogroove):
Calling `get_locale()` for every instance of `wptexturize()` is probably
not optimal. If `get_locale()` is the only function that modifies the
global variable, then we could just call `wptexturize('reset', true)` from
there.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32380#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list