[wp-trac] [WordPress Trac] #11257: Reproducible Output Failure

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 30 11:59:40 UTC 2009


#11257: Reproducible Output Failure
-------------------------+--------------------------------------------------
 Reporter:  miqrogroove  |        Type:  defect (bug)
   Status:  new          |    Priority:  high        
Milestone:  2.9          |   Component:  Shortcodes  
  Version:  2.8.4        |    Severity:  critical    
 Keywords:  has-patch    |  
-------------------------+--------------------------------------------------

Comment(by azaozz):

 Not sure if we need to use the same regex there, no need to capture all
 the stuff that's needed for parsing the shortcodes.

 We are only looking for <p> before and </p> after. Perhaps it would be
 better to build another pattern using the global `$shortcode_tags`, even
 split it in two. Wouldn't be affected by future changes to
 get_shortcode_regex() and will be faster.

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


More information about the wp-trac mailing list