WordPress / WordPress/pattern-directory

Handle changing pattern category names

Open
#532 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

[Component] Pattern Directory
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.