#80 closed defect (bug) (fixed)
post meta data is not deleted when the post is deleted
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | 1.2 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Deleting a post ought to delete that post's meta data. It does not.
Change History (5)
Note: See
TracTickets for help on using
tickets.
Should be a simple enough patch... I think
$meta = $wpdb->query("DELETE FROM $wpdb->postmeta WHERE post_id = $post_id");
should be inserted after the statements in 'post.php' that delete the post2cat, comments and post entry itself.