Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r8628 r8033  
    3535                $location = $_POST['referredby'];
    3636                $location = remove_query_arg('_wp_original_http_referer', $location);
    37                 if ( false !== strpos($location, 'edit-pages.php') )
     37                if ( $_POST['referredby'] == 'redo' )
     38                        $location = get_permalink( $page_ID );
     39                elseif ( false !== strpos($location, 'edit-pages.php') )
    3840                        $location = add_query_arg('posted', $page_ID, $location);
    3941                elseif ( false !== strpos($location, 'wp-admin') )
Note: See TracChangeset for help on using the changeset viewer.