WordPress / WordPress/pattern-directory

Detect when patterns are using self-hosted images/media

Open
#494 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Pattern Creator
Dominant language
PHP
Stars
134
Forks
46
Avg merge
9h 4m
Merged PRs (30d)
19

Description

If a pattern is created on a 3rd party site, the pattern author isn't restricted to the Openverse CC0 search, and can upload any media. When they copy it over to the pattern creator, it's still using the media from their site, and anyone who copies that pattern once submitted will also be loading it from the pattern author's site. Additionally, we have no information about the image, so no way of knowing whether it's CC0.

We should detect this somehow when content is pasted into the pattern creator, or in the validation step.

The same check will also need to be run on existing patterns, as there are a few already doing this. Maybe reach out to specific pattern authors if it seems to be consistent.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by mapping the pattern creator's paste flow and the validation step to determine where external media URLs can be detected. Then identify how existing patterns can be checked, and define completion as detecting self-hosted media during creation and finding the affected existing patterns.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, content
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.