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

WordPress Trac wp-trac at lists.automattic.com
Sat Apr 4 01:34:50 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
--------------------------+-------------------------------------------------
Changes (by DD32):

  * keywords:  has-patch needs-testing => needs-patch needs-testing


Comment:

 Replying to [comment:7 JakaJancar]:
 > So instead of <> tags and [] tags, now also <] and [> tags are possible?
 What's the point of that? And why is the second part of the new regexp
 even needed ( \[.*\] ), shouldn't these tags all be matched by the first
 part anyways ( [<\[].*[>\]] ).

 Hm.. Odd.. Why didnt i notice that at that the time.

 Eitherway, This is currently broken then, Because while the code seems to
 read that it was to exclude shortcodes, In reality, it doesnt work.
 (Probably because splitting like that doesnt work as expected)

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


More information about the wp-trac mailing list