mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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