WordPress.org

Make WordPress Core

Ticket #14514: 14514.patch

File 14514.patch, 574 bytes (added by Viper007Bond, 9 years ago)
  • wp-includes/media.php

     
    11561156                $rawattr = $attr;
    11571157                $attr = wp_parse_args( $attr, wp_embed_defaults() );
    11581158
     1159                // kses converts & into & and we need to undo this
     1160                // See http://core.trac.wordpress.org/ticket/11311
     1161                $url = str_replace( '&', '&', $url );
     1162
    11591163                // Look for known internal handlers
    11601164                ksort( $this->handlers );
    11611165                foreach ( $this->handlers as $priority => $handlers ) {