Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Media files duplicated after distribution #765

Open
philbraun opened this issue May 25, 2021 · 1 comment
Open

Media files duplicated after distribution #765

philbraun opened this issue May 25, 2021 · 1 comment
Labels
type:bug Something isn't working.
Milestone

Comments

@philbraun
Copy link

Distributing multiple posts that use the same image file as post thumbnail, the media file gets duplicated into the receiving site's media library.

Steps to Reproduce

  1. Assign the same image file to multiple posts in origin site
  2. Distribute these posts to a subsite
  3. Check subsite's media library
  4. See myimage.jpg, myimage-1.jpg, myimage-2.jpg, myimage-3.jpg etc.

Expected behavior
Distributor should check if image file is already present in target site, and then (re)use this image.

WordPress 5.7.2
Distributor 1.6.4-dev

@philbraun philbraun added the type:bug Something isn't working. label May 25, 2021
@jeffpaul jeffpaul added this to the 2.1.0 milestone May 25, 2021
@jeffpaul
Copy link
Member

@philbraun welcome to Distributor and thanks for the feedback! I agree that your expected behavior would be more ideal, I'm adding this into the 2.1.0 milestone as we have some larger foundational changes we'd like/need to make first before getting to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants