Automattic / Automattic/jetpack

VideoPress: Videos listed more than once if the file is duplicated on the media library

Open
#39,555 1 comment 0 reactions 0 assignees View on GitHub
[Focus] Compatibility [Plugin] VideoPress [Pri] Low Bug Triaged
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

Not sure how that happened, but it seems that WPML creates a copy of the video entry in the media library when adding another language. This causes the video listing on the plugin's dashboard to list the same video more than once.
We need to find a way to deduplicate the data on cases like this.

Contributor guide

Open the contributing guide

Research direction

Start in the VideoPress plugin dashboard listing and reproduce the case where WPML adds a duplicate video entry in the media library. Trace how those entries are gathered and where duplicate records can be removed. Done means the same video appears once while distinct videos remain listed, with a regression check for the duplicated-file case.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.