[wp-trac] [WordPress Trac] #12115: Viddler embeds broken by wpautop() due to line breaks

WordPress Trac wp-trac at lists.automattic.com
Tue Apr 27 05:24:11 UTC 2010


#12115: Viddler embeds broken by wpautop() due to line breaks
--------------------------+-------------------------------------------------
 Reporter:  Viper007Bond  |        Owner:        
     Type:  defect (bug)  |       Status:  closed
 Priority:  high          |    Milestone:  3.0   
Component:  Embeds        |      Version:  2.9.1 
 Severity:  normal        |   Resolution:  fixed 
 Keywords:  has-patch     |  
--------------------------+-------------------------------------------------
Changes (by nacin):

  * milestone:  2.9.3 => 3.0


Comment:

 Viddler has since fixed this, so no need to commit to the 2.9 branch.

 After discussion with Viper in IRC, I've removed the regexp check on the
 provider, and instead went to a simple strpos to identify any newlines, to
 slightly improve performance and future-proof any providers that return
 new lines in the embed code.

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


More information about the wp-trac mailing list