WordPress.org

Make WordPress Core


Ignore:
Timestamp:
05/18/2009 04:00:33 PM (12 years ago)
Author:
markjaquith
Message:

Deprecate sanitize_url() and clean_url() in favor of esc_url_raw() and esc_url()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/bookmark-template.php

    r11204 r11383  
    7171        $the_link = '#';
    7272        if ( !empty($bookmark->link_url) )
    73             $the_link = clean_url($bookmark->link_url);
     73            $the_link = esc_url($bookmark->link_url);
    7474
    7575        $desc = esc_attr(sanitize_bookmark_field('link_description', $bookmark->link_description, $bookmark->link_id, 'display'));
Note: See TracChangeset for help on using the changeset viewer.