WordPress.org

Make WordPress Core

Ticket #13731: remove_extra_delete_post_action2.diff

File remove_extra_delete_post_action2.diff, 425 bytes (added by eddieringle, 4 years ago)
  • wp-includes/post.php

     
    17791779                do_action( 'deleted_postmeta', $post_meta_ids ); 
    17801780        } 
    17811781 
    1782         do_action( 'delete_post', $postid ); 
    17831782        $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->posts WHERE ID = %d", $postid )); 
    17841783        do_action( 'deleted_post', $postid ); 
    17851784