git-svn-id: http://svn.automattic.com/wordpress/trunk@16728 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2955ecbc55
commit
d0098e51bb
|
@ -1158,6 +1158,10 @@ class WP_Embed {
|
|||
$rawattr = $attr;
|
||||
$attr = wp_parse_args( $attr, wp_embed_defaults() );
|
||||
|
||||
// kses converts & into & and we need to undo this
|
||||
// See http://core.trac.wordpress.org/ticket/11311
|
||||
$url = str_replace( '&', '&', $url );
|
||||
|
||||
// Look for known internal handlers
|
||||
ksort( $this->handlers );
|
||||
foreach ( $this->handlers as $priority => $handlers ) {
|
||||
|
|
Loading…
Reference in New Issue