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-admin/upgrade.php

    r11189 r11383  
    5858    case 0:
    5959        $goback = stripslashes( wp_get_referer() );
    60         $goback = clean_url( $goback, null, 'url' );
     60        $goback = esc_url_raw( $goback );
    6161        $goback = urlencode( $goback );
    6262?>
     
    7474        else {
    7575            $backto = stripslashes( urldecode( $_GET['backto'] ) );
    76             $backto = clean_url( $backto, null, 'url' );
     76            $backto = esc_urlaw( $backto );
    7777        }
    7878?>
Note: See TracChangeset for help on using the changeset viewer.