Ticket #23776: 23776.patch
File 23776.patch, 555 bytes (added by , 10 years ago) |
---|
-
wp-includes/class-wp-embed.php
308 308 */ 309 309 public function autoembed_callback( $match ) { 310 310 $oldval = $this->linkifunknown; 311 $this->linkifunknown = false;312 311 $return = $this->shortcode( array(), $match[1] ); 313 $this->linkifunknown = $oldval;314 312 315 return "\n$return\n";313 return strpos( $return, '<iframe' ) !== false ? "\n$return\n" : $return; 316 314 } 317 315 318 316 /**