WordPress / WordPress/pattern-directory
Detect when patterns are using self-hosted images/media
Nobody has claimed this yet.
- 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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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