WordPress / WordPress/pattern-directory
Handle changing pattern category names
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 134
- Forks
- 46
- Avg merge
- 9h 4m
- Merged PRs (30d)
- 19
Description
See https://github.com/WordPress/gutenberg/issues/44501, https://github.com/WordPress/gutenberg/pull/44203
The pattern categories are being rethought, so the names will be changing. The Pattern Directory provides patterns for multiple WP versions, but the categories themselves are hardcoded into each version. If the names update, sites who aren't using the latest Gutenberg would get a bunch of Uncategorized patterns.
This came up with the Banner category, where it was deemed OK, but if we're changing multiple categories that seems like a bad experience.
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 reading the linked Gutenberg issue 44501 and pull request 44203, then trace how pattern categories are stored and served for multiple WordPress versions. Done means category name changes do not leave patterns as Uncategorized on sites using older versions.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- content
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100