Clean attachment cache when reattaching, fixes #11647

git-svn-id: http://svn.automattic.com/wordpress/trunk@13192 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
azaozz
2010-02-18 07:43:35 +00:00
parent 0dcfcc6e20
commit e41f7c83ce
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) ) {