Make WordPress Core


Ignore:
Timestamp:
08/12/2008 09:00:22 PM (16 years ago)
Author:
ryan
Message:

Don't redirect back to permalink after editing from Edit This link. fixes #7503 for trunk

File:
1 edited

Legend:

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

    r8484 r8627  
    3838        $location = $_POST['referredby'];
    3939        $location = remove_query_arg('_wp_original_http_referer', $location);
    40         if ( $_POST['referredby'] == 'redo' )
    41             $location = get_permalink( $page_ID );
    42         elseif ( false !== strpos($location, 'edit-pages.php') )
     40        if ( false !== strpos($location, 'edit-pages.php') )
    4341            $location = add_query_arg('posted', $page_ID, $location);
    4442        elseif ( false !== strpos($location, 'wp-admin') )
Note: See TracChangeset for help on using the changeset viewer.