Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#60342 closed enhancement (fixed)

Patterns: Register new media related categories

Reported by: aaronrobertshaw Owned by: youknowriad
Priority: normal Milestone: 6.5
Component: Editor Version: 6.5
Severity: normal Keywords: gutenberg-merge has-patch add-to-field-guide
Cc: Focuses:

Description

As patterns continue to be enhanced, additional default categories for media-related patterns have been desired. Two new categories, Audio & Videos, were added in Gutenberg via ​https://github.com/WordPress/gutenberg/pull/55236.

This ticket tracks syncing that PR to core.

Change History (7)

This ticket was mentioned in ​PR #5943 on ​WordPress/wordpress-develop by ​@aaronrobertshaw.


3 years ago
#1

  • Keywords has-patch added

Syncs the changes from ​https://github.com/WordPress/gutenberg/pull/55236.

These changes introduce two new media related default pattern categories, Audio and Videos.

To test:

  1. Activate TT3
  2. Open the site editor's patterns page (Appearance > Editor > Patterns)
  3. Create a new pattern and confirm the category selector suggests both Audio and Videos
  4. Try adding patterns to each of these categories and confirm they display in both the site and post editors.

Trac ticket: https://core.trac.wordpress.org/ticket/60342

​@get_dave commented on ​PR #5943:


3 years ago
#2

https://i0.wp.com/github.com/WordPress/wordpress-develop/assets/444434/aadf3660-ab20-46a2-b397-b109ee89fe5e
https://i0.wp.com/github.com/WordPress/wordpress-develop/assets/444434/0592dd12-5319-4a50-9b29-92bc56775e1c
https://i0.wp.com/github.com/WordPress/wordpress-develop/assets/444434/08852a28-67e5-4133-8198-eae95d5d56e1

#3 @get_dave
3 years ago

I tested and it worked as described. Screenshots in ​https://github.com/WordPress/wordpress-develop/pull/5943#issuecomment-1909934966.

@youknowriad I think this is ready to commit.

#4 @youknowriad
3 years ago

  • Owner set to youknowriad
  • Resolution → fixed
  • Status new → closed

In 57353:

Editor: Add video and audio pattern categories.

More categories, better organization for patterns
as they grow and power more WordPress websites.

Props aaronrobertshaw, get_dave.
Fixes #60342.

#5 @youknowriad
3 years ago

  • Milestone Awaiting Review → 6.5

#7 @stevenlinx
3 years ago

  • Keywords add-to-field-guide added
Note: See TracTickets for help on using tickets.