Make WordPress Core


Ignore:
Timestamp:
12/09/2010 06:02:54 PM (14 years ago)
Author:
nacin
Message:

Always exit after wp_redirect. props filosofo, fixes #15518.

File:
1 edited

Legend:

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

    r16008 r16847  
    8686
    8787    wp_redirect( apply_filters( 'redirect_post_location', $location, $post_id ) );
     88    exit;
    8889}
    8990
     
    266267
    267268default:
    268         wp_redirect( admin_url('edit.php') );
     269    wp_redirect( admin_url('edit.php') );
    269270    exit();
    270271    break;
Note: See TracChangeset for help on using the changeset viewer.