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/update.php

    r11209 r11383  
    6868        $new_option->response = esc_attr( $returns[0] );
    6969        if ( isset( $returns[1] ) )
    70             $new_option->url = clean_url( $returns[1] );
     70            $new_option->url = esc_url( $returns[1] );
    7171        if ( isset( $returns[2] ) )
    72             $new_option->package = clean_url( $returns[2] );
     72            $new_option->package = esc_url( $returns[2] );
    7373        if ( isset( $returns[3] ) )
    7474            $new_option->current = esc_attr( $returns[3] );
Note: See TracChangeset for help on using the changeset viewer.