WordPress.org

Make WordPress Core

Changeset 8628


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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.6/wp-admin/page.php

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