[wp-trac] [WordPress Trac] #33645: Change in wp-includes/class-wp-embed.php ? [ Version Wordpress 4.2.4] to add wpnl comment breaks sites

WordPress Trac noreply at wordpress.org
Tue Sep 1 11:09:29 UTC 2015


#33645: Change in wp-includes/class-wp-embed.php ? [ Version Wordpress 4.2.4] to
add wpnl comment breaks sites
--------------------------+------------------------------
 Reporter:  Thomas Hicks  |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Formatting    |     Version:  4.2.4
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by Thomas Hicks):

 For information: Affected post on site (for reference)

 code in post:

 {{{
 <!--<object width="528" height="580">
     <param name="movie" value="http://www.example.com/wp-
 content/uploads/2012/03/old1.swf">
     <param name="wmode" value="transparent" />
     <embed src="file.swf" width="528" height="580">
     </embed>
 </object>

 <object width="520" height="520">
     <param name="movie" value="http://www.example.com/wp-
 content/uploads/2012/03/old2.swf">
     <param name="wmode" value="transparent" />
     <embed src="file.swf" width="520" height="520">
     </embed>
 </object>


 <object width="520" height="385">
     <param name="movie" value="http://www.example.com/wp-
 content/uploads/2012/03/old3.swf">
     <param name="wmode" value="transparent" />
     <embed src="file.swf" width="520" height="385">
     </embed>
 </object>
 -->
 ...SNIP...
 }}}


 code produced on page by Wordpress:


 {{{
  <div class="section-content"><p><!--<object width="528" height="580"><!--
 wpnl -->      <!-- wpnl --><param name="movie"
 value="http://www.example.com/wp-content/uploads/2012/03/old1.swf"><!--
 wpnl -->      <!-- wpnl --><param name="wmode" value="transparent" /><!--
 wpnl --><embed src="file.swf" width="528" height="580"><!-- wpnl
 --></embed><!-- wpnl --></object>

 <object width="520" height="520"><!-- wpnl -->      <!-- wpnl --><param
 name="movie" value="http://www.example.com/wp-
 content/uploads/2012/03/old2.swf"><!-- wpnl -->      <!-- wpnl --><param
 name="wmode" value="transparent" /><!-- wpnl --><embed src="file.swf"
 width="520" height="520"><!-- wpnl --></embed><!-- wpnl --></object>


 <object width="520" height="385"><!-- wpnl -->      <!-- wpnl --><param
 name="movie" value="http://www.example.com/wp-
 content/uploads/2012/03/old3.swf"><!-- wpnl -->      <!-- wpnl --><param
 name="wmode" value="transparent" /><!-- wpnl --><embed src="file.swf"
 width="520" height="385"><!-- wpnl --></embed><!-- wpnl --></object>
 --></p>
 ...SNIP...
 }}}

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


More information about the wp-trac mailing list