Skip to content

Block Pattern Patch#31

Merged
jasperf merged 3 commits into
mainfrom
block-pattern-patch
Jan 21, 2026
Merged

Block Pattern Patch#31
jasperf merged 3 commits into
mainfrom
block-pattern-patch

Conversation

@jasperf

@jasperf jasperf commented Jan 21, 2026

Copy link
Copy Markdown
Contributor

This PR bumps Elayne Blocks to 2.5.8 and aligns plugin metadata in elayne-blocks.php and readme.txt, keeping the header fields, version constant, and stable tag consistent for the release. The changelog is updated to capture a block pattern patch that removes reliance on templateTypes while retaining menu categorization and block type targeting for improved editor compatibility. A new documentation page explains WordPress 6.7 limitations around user-created patterns in menu template parts and provides concrete workarounds for users and theme authors. In total, 4 files are updated with 181 insertions and 10 deletions, focusing on release notes and developer guidance rather than new runtime behavior.

Versioning and Plugin Metadata:

  • Updates plugin header metadata and the ELAYNE_BLOCKS_VERSION constant in elayne-blocks.php to 2.5.8 to keep runtime versioning consistent with the release.
  • Syncs readme.txt stable tag and changelog entries to 2.5.8 so WordPress.org metadata reflects the published build.

Pattern Registration and Compatibility:

  • Documents the shift away from templateTypes in menu template part pattern registration to reduce editor compatibility issues while preserving blockTypes targeting.
  • Adds release notes in CHANGELOG.md and readme.txt to clarify the intended behavior of mega menu pattern registration.

Documentation and Developer Guidance:

  • Adds docs/PATTERN-LIMITATIONS.md to explain core limitations with user-created patterns and template part areas in WordPress 6.7.
  • Provides concrete user and theme-author workarounds, including theme pattern header requirements for core/template-part/menu.

Files Changed:

@github-actions

github-actions Bot commented Jan 21, 2026

Copy link
Copy Markdown

✅ WordPress Plugin Check Report

✅ Status: Passed

📊 Report

All checks passed! No errors or warnings found.


🤖 Generated by WordPress Plugin Check Action • Learn more about Plugin Check

This addresses the WordPress core limitation where user-created patterns
(wp_block post type) cannot have blockTypes metadata and therefore cannot
be filtered by template part area.
@jasperf jasperf merged commit d27f9c5 into main Jan 21, 2026
2 checks passed
@jasperf jasperf deleted the block-pattern-patch branch January 21, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant