Make WordPress Core


Ignore:
Timestamp:
10/27/2010 10:43:43 AM (14 years ago)
Author:
dd32
Message:

Use Absolute URL's & API's in header redirects in more locations. See #14062

File:
1 edited

Legend:

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

    r15830 r16008  
    4949
    5050    if ( empty( $_GET['attachment_id'] ) ) {
    51         wp_redirect('upload.php');
     51        wp_redirect( admin_url('upload.php') );
    5252        exit();
    5353    }
     
    119119
    120120default:
    121     wp_redirect( 'upload.php' );
     121    wp_redirect( admin_url('upload.php') );
    122122    exit;
    123123
Note: See TracChangeset for help on using the changeset viewer.