WordPress.org

Make WordPress Core

Ticket #13731: 13731.inner.diff

File 13731.inner.diff, 493 bytes (added by scribu, 3 years ago)
  • wp-includes/post.php

     
    20122012                do_action( 'deleted_postmeta', $post_meta_ids ); 
    20132013        } 
    20142014 
    2015         do_action( 'delete_post', $postid ); 
    20162015        $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->posts WHERE ID = %d", $postid )); 
    2017         do_action( 'deleted_post', $postid ); 
    20182016 
    20192017        if ( 'page' == $post->post_type ) { 
    20202018                clean_page_cache($postid);