Make WordPress Core


Ignore:
Timestamp:
05/18/2009 04:00:33 PM (15 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/category-template.php

    r11324 r11383  
    660660    foreach ( $tags as $key => $tag ) {
    661661        $count = $counts[ $key ];
    662         $tag_link = '#' != $tag->link ? clean_url( $tag->link ) : '#';
     662        $tag_link = '#' != $tag->link ? esc_url( $tag->link ) : '#';
    663663        $tag_id = isset($tags[ $key ]->id) ? $tags[ $key ]->id : $key;
    664664        $tag_name = $tags[ $key ]->name;
Note: See TracChangeset for help on using the changeset viewer.