Make WordPress Core

Ticket #3986: functions.diff

File functions.diff, 436 bytes (added by xknown, 18 years ago)

Proposed fix

  • functions.php

     
    12721272
    12731273        $adminurl = get_option('siteurl') . '/wp-admin';
    12741274        if ( wp_get_referer() )
    1275                 $adminurl = attribute_escape(wp_get_referer());
     1275                $adminurl = clean_url(wp_get_referer());
    12761276
    12771277        $title = __('WordPress Confirmation');
    12781278        // Remove extra layer of slashes.