Clean attachment cache when reattaching, fixes #11647

git-svn-id: https://develop.svn.wordpress.org/trunk@13192 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Andrew Ozz
2010-02-18 07:43:35 +00:00
parent 4d65e83ef9
commit 6ea8ad96ef
2 changed files with 36 additions and 0 deletions

View File

@@ -43,6 +43,7 @@ if ( isset($_GET['find_detached']) ) {
continue;
$attach[] = $att_id;
clean_attachment_cache($att_id);
}
if ( ! empty($attach) ) {