[wp-trac] [WordPress Trac] #27361: issue when embed youtube video in content

WordPress Trac noreply at wordpress.org
Wed Mar 12 15:55:58 UTC 2014


#27361: issue when embed youtube video in content
--------------------------+----------------------
 Reporter:  mandooox      |       Owner:
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:
Component:  Embeds        |     Version:  3.8.1
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+----------------------

Comment (by room34):

 Until there's a fix, here's a workaround you can put into functions.php:

 {{{
 function embed_fix_stray_parens($content) {
     return str_replace('</iframe>)','</iframe>',$content);
 }
 add_filter('the_content','embed_fix_stray_parens');
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/27361#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list