Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#56416 closed enhancement (fixed)

Add a new block pattern category called Footers

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

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
4 years ago

  • Summary Add a new block pattern category called Footer → Add a new block pattern category called Footers

#2 @poena
4 years ago

  • Type defect (bug) → enhancement

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


4 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
4 years ago

  • Component General → 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
4 years ago

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

#6 @mcsf
4 years ago

  • Owner set to mcsf
  • Resolution → fixed
  • Status new → 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
4 years ago

  • Keywords add-to-field-guide added

#8 @peterwilsoncc
4 years ago

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

Note: See TracTickets for help on using tickets.