Make WordPress Core


Ignore:
Timestamp:
02/22/2010 06:15:10 PM (16 years ago)
Author:
nacin
Message:

Use esc_url() instead of clean_url(). See #12309

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r13268 r13297  
    20712071function sanitize_url( $url, $protocols = null ) {
    20722072    _deprecated_function( __FUNCTION__, '2.8', 'esc_url_raw()' );
    2073     return clean_url( $url, $protocols, 'db' );
     2073    return esc_url_raw( $url, $protocols );
    20742074}
    20752075
Note: See TracChangeset for help on using the changeset viewer.