WordPress.org

Make WordPress Core

Changeset 23321


Ignore:
Timestamp:
01/22/13 16:37:54 (15 months ago)
Author:
nacin
Message:

Use correct escaping function. props duck_.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/class-wp-embed.php

    r22369 r23321  
    271271     */ 
    272272    function maybe_make_link( $url ) { 
    273         $output = ( $this->linkifunknown ) ? '<a href="' . esc_attr($url) . '">' . esc_html($url) . '</a>' : $url; 
     273        $output = ( $this->linkifunknown ) ? '<a href="' . esc_url($url) . '">' . esc_html($url) . '</a>' : $url; 
    274274        return apply_filters( 'embed_maybe_make_link', $output, $url ); 
    275275    } 
Note: See TracChangeset for help on using the changeset viewer.