You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently I'm having a problem where image attachments often don't come across with a duplication.
I think it's because the file is being copied over from the source but in mpd_copy_file_to_destination() it's using WP functions to create the destination meta data around the attachment which is different if the copy is made when the attachment month has updated.
For example, copying a custom post has the following attachment
./sites/7/2018/04/winemaker_quote_img_vines02_fs_2x-150x150.jpg
And it copies the file to
./sites/6/2018/04/winemaker_quote_img_vines02_fs_2x-150x150.jpg
But the WP media library is looking for
./sites/6/2018/07/winemaker_quote_img_vines02_fs_2x-150x150.jpg
Because WP is now putting attachments into 2018/07
The text was updated successfully, but these errors were encountered:
3wf
changed the title
different sub-directory for media attachment on clone
media copied to incorrect sub-directory on clone
Jul 17, 2018
Thanks for the great plugin!
Currently I'm having a problem where image attachments often don't come across with a duplication.
I think it's because the file is being copied over from the source but in mpd_copy_file_to_destination() it's using WP functions to create the destination meta data around the attachment which is different if the copy is made when the attachment month has updated.
For example, copying a custom post has the following attachment
./sites/7/2018/04/winemaker_quote_img_vines02_fs_2x-150x150.jpg
And it copies the file to
./sites/6/2018/04/winemaker_quote_img_vines02_fs_2x-150x150.jpg
But the WP media library is looking for
./sites/6/2018/07/winemaker_quote_img_vines02_fs_2x-150x150.jpg
Because WP is now putting attachments into 2018/07
The text was updated successfully, but these errors were encountered: