[wp-trac] Re: [WordPress Trac] #9264: Self closing shortcodes

WordPress Trac wp-trac at lists.automattic.com
Sun May 24 02:32:13 GMT 2009


#9264: Self closing shortcodes
--------------------------+-------------------------------------------------
 Reporter:  rb-cohen      |       Owner:  westi                     
     Type:  defect (bug)  |      Status:  accepted                  
 Priority:  normal        |   Milestone:  2.8                       
Component:  Shortcodes    |     Version:  2.7.1                     
 Severity:  normal        |    Keywords:  has-patch needs-unit-tests
--------------------------+-------------------------------------------------

Comment(by Denis-de-Bernardy):

 Replying to [comment:3 westi]:
 > It would be good to see a patch to add these test cases to the shortcode
 tests:
 >
 > http://svn.automattic.com/wordpress-tests/wp-testcase/test_shortcode.php
 >
 > Then we can make sure the code changes satisfy the existing tests as
 well as these changes.

 It does, provided that the ?(:digit:) works on all platforms. never ran
 into this one, but if anyone is familiar with it and can confirm it's pcre
 standard than it should go right in.

 my understanding is it stands for "if we've 4 backrefs so far", and that
 would only be true if there is a /] around.

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


More information about the wp-trac mailing list