[wp-trac] [WordPress Trac] #10082: shortcode bug

WordPress Trac wp-trac at lists.automattic.com
Sun Oct 4 14:04:13 UTC 2009


#10082: shortcode bug
-------------------------------+--------------------------------------------
 Reporter:  Denis-de-Bernardy  |       Owner:  petervanderdoes
     Type:  defect (bug)       |      Status:  accepted       
 Priority:  normal             |   Milestone:  2.8.5          
Component:  Shortcodes         |     Version:  2.8            
 Severity:  critical           |    Keywords:  has-patch      
-------------------------------+--------------------------------------------
Changes (by alanjohndix):

 * cc: alanjohndix (added)


Comment:

 I missed this thread and submitted a separate bug report with a patch
 http://core.trac.wordpress.org/ticket/10490

 The patch seems to cover all the cases discussed.

 A core problem is the back reference "\2" in the regular expression which
 which changes its meaning when used in a different context by wpautop.

 I also describe it in a short blog as I couldn't work out how to get some
 things to format in the comment box.

 http://www.alandix.com/blog/2009/07/26/fix-for-wordpress-shortcode-bug/

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


More information about the wp-trac mailing list