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/class.wp-styles.php

    r11219 r11383  
    103103        $src = add_query_arg('ver', $ver, $src);
    104104        $src = apply_filters( 'style_loader_src', $src, $handle );
    105         return clean_url( $src );
     105        return esc_url( $src );
    106106    }
    107107
Note: See TracChangeset for help on using the changeset viewer.