Make WordPress Core


Ignore:
File:
1 edited

Legend:

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

    r8033 r8626  
    3737        $location = $_POST['referredby'];
    3838        $location = remove_query_arg('_wp_original_http_referer', $location);
    39         if ( $_POST['referredby'] == 'redo' )
    40             $location = get_permalink( $post_ID );
    41         elseif ( false !== strpos($location, 'edit.php') )
     39        if ( false !== strpos($location, 'edit.php') )
    4240            $location = add_query_arg('posted', $post_ID, $location);       
    4341        elseif ( false !== strpos($location, 'wp-admin') )
Note: See TracChangeset for help on using the changeset viewer.