[wp-trac] Re: [WordPress Trac] #6969: Don't apply wptexturize() to
the insides of shortcode tags
WordPress Trac
wp-trac at lists.automattic.com
Fri Apr 24 18:37:12 GMT 2009
#6969: Don't apply wptexturize() to the insides of shortcode tags
--------------------------+-------------------------------------------------
Reporter: Viper007Bond | Owner: tellyworth
Type: enhancement | Status: new
Priority: normal | Milestone: 2.8
Component: General | Version: 2.5.1
Severity: normal | Keywords: needs-patch needs-testing
--------------------------+-------------------------------------------------
Comment(by mzizka):
I am working on a patch for this. I am at the point where I have the
texturizing fixed, and am now working on wpautop (which is totally
dysfunctional with any but the most basic use of shortcodes).
Excluding the shortcode content is fairly complex work and will likely
slow things down a bit.
This leads me to wonder why these filters are applied '''before''' the
shortcodes are handled. There could be security reasons -- I admit I
didn't really dig into this. From my point of view, it seems we are making
things needlessly complicated. Shortcodes are meant to alter or produce
output, and it is that on that output that filters should be applied --
not on input. No?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/6969#comment:10>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list