[wpmu-trac] [WordPress MU Trac] #282: Improve wpmu_delete_blog
WordPress MU Trac
wpmu-trac at lists.automattic.com
Wed Mar 21 20:19:37 GMT 2007
#282: Improve wpmu_delete_blog
---------------------------+------------------------------------------------
Reporter: momo360modena | Owner: somebody
Type: enhancement | Status: new
Priority: normal | Milestone: WPMU 2.0
Component: component1 | Version: 2.0
Severity: normal | Keywords: wpmu_delete_blog, draft
---------------------------+------------------------------------------------
in "admin-db.php"
function : wpmu_delete_blog()
Add this line :
{{{
$wpdb->query("DELETE FROM $wpdb->usermeta WHERE
meta_key='wp_{$blog_id}_autosave_draft_ids'");
}}}
For delete drafts of deleted blog, not use at future...
--
Ticket URL: <http://trac.mu.wordpress.org/ticket/282>
WordPress MU Trac <http://mu.wordpress.org/>
WordPress Multiuser
More information about the wpmu-trac
mailing list