Make WordPress Core


Ignore:
Timestamp:
12/05/2010 02:23:17 AM (14 years ago)
Author:
nacin
Message:

Unescape ampersands before making an oEmbed request. props Viper007Bond, fixes #14514, see #11311.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r16535 r16728  
    11591159        $attr = wp_parse_args( $attr, wp_embed_defaults() );
    11601160
     1161        // kses converts & into & and we need to undo this
     1162        // See http://core.trac.wordpress.org/ticket/11311
     1163        $url = str_replace( '&', '&', $url );
     1164
    11611165        // Look for known internal handlers
    11621166        ksort( $this->handlers );
Note: See TracChangeset for help on using the changeset viewer.