[wp-trac] [WordPress Trac] #6969: Don't apply wptexturize() to the insides of shortcode tags

WordPress Trac wp-trac at lists.automattic.com
Tue May 31 08:45:14 UTC 2011


#6969: Don't apply wptexturize() to the insides of shortcode tags
------------------------------------------+-----------------------------
 Reporter:  Viper007Bond                  |       Owner:  tellyworth
     Type:  enhancement                   |      Status:  new
 Priority:  normal                        |   Milestone:  Future Release
Component:  Formatting                    |     Version:  2.5.1
 Severity:  normal                        |  Resolution:
 Keywords:  needs-patch needs-unit-tests  |
------------------------------------------+-----------------------------

Comment (by ciantic):

 Replying to [comment:36 Viper007Bond]:
 > Work-around for plugin authors BTW:
 >
 > http://www.viper007bond.com/2009/11/22/wordpress-code-earlier-
 shortcodes/

 This workaround seems really solid, though I'd like to chip in of the idea
 including third attribute for priority in `add_shortcode` like this:

 {{{
   add_shortcode('foo', 'foo_shortcode_func', 7);
 }}}

 Where "7" is the priority as mentioned in viper's blog, check the
 workaround to understand.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/6969#comment:38>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list