WordPress.org

Make WordPress Core

Changeset 23323


Ignore:
Timestamp:
01/22/13 16:39:36 (3 years ago)
Author:
nacin
Message:

Use correct escaping function. props duck_.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.4/wp-includes/media.php

    r23318 r23323  
    13131313     */ 
    13141314    function maybe_make_link( $url ) { 
    1315         $output = ( $this->linkifunknown ) ? '<a href="' . esc_attr($url) . '">' . esc_html($url) . '</a>' : $url; 
     1315        $output = ( $this->linkifunknown ) ? '<a href="' . esc_url($url) . '">' . esc_html($url) . '</a>' : $url; 
    13161316        return apply_filters( 'embed_maybe_make_link', $output, $url ); 
    13171317    } 
Note: See TracChangeset for help on using the changeset viewer.