WordPress.org

Make WordPress Core

Ticket #10929: post.php.patch

File post.php.patch, 360 bytes (added by johnjosephbachir, 5 years ago)
  • wp-admin/post.php

     
    6767                $location = add_query_arg( 'message', 4, get_edit_post_link( $post_ID, 'url' ) ); 
    6868        } 
    6969 
     70        apply_filters( 'redirect_post', $location ); 
     71 
    7072        wp_redirect( $location ); 
    7173} 
    7274