WordPress.org

Make WordPress Core

Ticket #16359: 16359.diff

File 16359.diff, 371 bytes (added by nacin, 7 years ago)
  • wp-admin/includes/user.php

     
    282282
    283283                if ( $post_ids ) {
    284284                        foreach ( $post_ids as $post_id )
    285                                 wp_delete_post($post_id);
     285                                wp_delete_post($post_id, true);
    286286                }
    287287
    288288                // Clean links