[wp-trac] [WordPress Trac] #10473: Shortcode parser in is flawed

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 24 08:16:40 UTC 2009


#10473: Shortcode parser in is flawed
--------------------------+-------------------------------------------------
 Reporter:  godfreykfc    |       Owner:                           
     Type:  defect (bug)  |      Status:  new                      
 Priority:  normal        |   Milestone:  Future Release           
Component:  Shortcodes    |     Version:  2.8.1                    
 Severity:  major         |    Keywords:  needs-patch needs-testing
--------------------------+-------------------------------------------------
Changes (by dd32):

  * keywords:  regex, shortcode, parser => needs-patch needs-testing
  * priority:  high => normal
  * severity:  critical => major
  * milestone:  Unassigned => Future Release


Comment:

 This would've been far easier managed as separate tickets. They are all
 separate issues and some easier fixed than others. (the latter 2 for
 example are easy, the first is very hard due to regular expressions being
 used and backtrace limits)

 I can confirm your first test data example, It might be relitivly easy to
 ensure that the start-tag of the current shortcode is not in the matched
 data. As for the new-lines-within-shortcodes issue, I wouldnt hold your
 breath there, Texturize is applied to the inside of the shortcodes too.

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


More information about the wp-trac mailing list