WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/27/2010 10:43:43 AM (9 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/post.php

    r15857 r16008  
    139139
    140140    if ( empty( $post_id ) ) {
    141         wp_redirect("post.php");
     141        wp_redirect( admin_url('post.php') );
    142142        exit();
    143143    }
     
    266266
    267267default:
    268         wp_redirect('edit.php');
     268        wp_redirect( admin_url('edit.php') );
    269269    exit();
    270270    break;
Note: See TracChangeset for help on using the changeset viewer.