WordPress.org

Make WordPress Core

Changeset 17584


Ignore:
Timestamp:
04/01/11 19:35:38 (4 years ago)
Author:
ryan
Message:

esc_url_raw() when doing urlencode()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/upgrade.php

    r17582 r17584  
    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.