Make WordPress Core

Opened 2 years ago

Closed 2 years ago

Last modified 21 months ago

#56416 closed enhancement (fixed)

Add a new block pattern category called Footers

Reported by: poena's profile poena Owned by: mcsf's profile mcsf
Milestone: 6.1 Priority: normal
Severity: normal Version:
Component: Editor Keywords: has-patch commit add-to-field-guide
Focuses: Cc:

Description

New footer block patterns have been added to Gutenberg version 14.0, and the goal is to include these patterns in WordPress 6.1.

To make it easier for users to find these patterns, a new block pattern category should be added.

The patterns have already been built to include the new category, with the slug "footer".
43157
To match the existing Headers category, I believe the visual label text should be "Footers" (plural).

This should be added to _register_core_block_patterns_and_categories()
in wp-includes\block-patterns.php

Change History (8)

#1 @poena
2 years ago

  • Summary changed from Add a new block pattern category called Footer to Add a new block pattern category called Footers

#2 @poena
2 years ago

  • Type changed from defect (bug) to enhancement

This ticket was mentioned in PR #3118 on WordPress/wordpress-develop by carolinan.


2 years ago
#3

  • Keywords has-patch added

Register a new block pattern category with the slug "footer" and the label "Footers", to make it easier to find site footer block patterns.

Trac ticket: #56416

#4 @mcsf
2 years ago

  • Component changed from General to Editor
  • Keywords commit added

Thanks for the quick patch! This works well for me and makes sense.

cc @bernhard-reiter as editor tech co-lead for 6.1

#5 @mukesh27
2 years ago

The PR looks good to me, approved and ready for the merge.

#6 @mcsf
2 years ago

  • Owner set to mcsf
  • Resolution set to fixed
  • Status changed from new to closed

In 53943:

Block Patterns: Add new Footers category

Quoting poena from the ticket: "[...] To make it easier for users to find these
patterns, a new block pattern category should be added. The patterns have
already been built to include the new category, with the slug "footer" [to]
match the existing Headers category"

Props poena.

Fixes #56416.

#7 @milana_cap
22 months ago

  • Keywords add-to-field-guide added

#8 @peterwilsoncc
21 months ago

@mukesh27 added to pros via make/core per review comment above.

Note: See TracTickets for help on using tickets.