Make WordPress Core


Ignore:
Timestamp:
04/01/2011 07:30:28 PM (14 years ago)
Author:
ryan
Message:

s/esc_url_raw/esc_url/. Props duck_. For 3.1

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/wp-admin/upgrade.php

    r16823 r17583  
    7474    case 0:
    7575        $goback = stripslashes( wp_get_referer() );
    76         $goback = esc_url_raw( $goback );
     76        $goback = esc_url( $goback );
    7777        $goback = urlencode( $goback );
    7878?>
     
    8787
    8888            $backto = !empty($_GET['backto']) ? stripslashes( urldecode( $_GET['backto'] ) ) :  __get_option( 'home' ) . '/';
    89             $backto = esc_url_raw( $backto );
     89            $backto = esc_url( $backto );
    9090            $backto = wp_validate_redirect($backto, __get_option( 'home' ) . '/');
    9191?>
Note: See TracChangeset for help on using the changeset viewer.