[wp-trac] [WordPress Trac] #32380: WPTexturize doesn't handle locale switching properly

WordPress Trac noreply at wordpress.org
Thu May 28 19:28:14 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 ivanblagdan):

 You are kind of right on the it being used in a wrong place. Like I said,
 the plugin was using get_plugin_data() which triggers wp_texturize(). The
 plugin causing the issue is Crayon, https://wordpress.org/plugins/crayon-
 syntax-highlighter/, the call in question is in wp_crayon.class.php, line
 39. Its basically in global scope, and I'd agree its wrong. I'd argue that
 its viable though and there should be some safeguard for it.

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


More information about the wp-trac mailing list