WordPress.org

Make WordPress Core

Changeset 17585


Ignore:
Timestamp:
04/01/11 19:36:04 (3 years ago)
Author:
ryan
Message:

esc_url_raw() when doing urlencode()

File:
1 edited

Legend:

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

    r17583 r17585  
    7474    case 0: 
    7575        $goback = stripslashes( wp_get_referer() ); 
    76         $goback = esc_url( $goback ); 
     76        $goback = esc_url_raw( $goback ); 
    7777        $goback = urlencode( $goback ); 
    7878?> 
Note: See TracChangeset for help on using the changeset viewer.