Make WordPress Core

Ticket #10929: 10929.patch

File 10929.patch, 387 bytes (added by johnbillion, 15 years ago)
  • wp-admin/post.php

     
    7171                $location = add_query_arg( 'message', 4, get_edit_post_link( $post_ID, 'url' ) );
    7272        }
    7373
     74        $location = apply_filters( 'redirect_post', $location, $post_ID );
     75
    7476        wp_redirect( $location );
    7577}
    7678