Make WordPress Core


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

    r11245 r11383  
    116116
    117117        $src = add_query_arg('ver', $ver, $src);
    118         $src = clean_url(apply_filters( 'script_loader_src', $src, $handle ));
     118        $src = esc_url(apply_filters( 'script_loader_src', $src, $handle ));
    119119
    120120        if ( $this->do_concat )
Note: See TracChangeset for help on using the changeset viewer.