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:
@@ -43,6 +43,7 @@ if ( isset($_GET['find_detached']) ) {
|
||||
continue;
|
||||
|
||||
$attach[] = $att_id;
|
||||
clean_attachment_cache($att_id);
|
||||
}
|
||||
|
||||
if ( ! empty($attach) ) {
|
||||
|
||||
Reference in New Issue
Block a user