Make WordPress Core


Ignore:
Timestamp:
06/24/2006 07:34:35 AM (19 years ago)
Author:
ryan
Message:

Use wp_get_referer(). fixes #2800

File:
1 edited

Legend:

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

    r3670 r3918  
    6868
    6969    case 0:
    70     $goback = wp_specialchars($_SERVER['HTTP_REFERER'], 1);
     70    $goback = wp_specialchars(wp_get_referer());
    7171?>
    7272<p><?php _e('This file upgrades you from any previous version of WordPress to the latest. It may take a while though, so be patient.'); ?></p>
Note: See TracChangeset for help on using the changeset viewer.