Make WordPress Core


Ignore:
Timestamp:
08/12/2008 08:58:00 PM (18 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/post.php

    r8600 r8625  
    4040                $location = $_POST['referredby'];
    4141                $location = remove_query_arg('_wp_original_http_referer', $location);
    42                 if ( $_POST['referredby'] == 'redo' )
    43                         $location = get_permalink( $post_ID );
    44                 elseif ( false !== strpos($location, 'edit.php') )
     42                if ( false !== strpos($location, 'edit.php') )
    4543                        $location = add_query_arg('posted', $post_ID, $location);
    4644                elseif ( false !== strpos($location, 'wp-admin') )
Note: See TracChangeset for help on using the changeset viewer.