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. Built from https://develop.svn.wordpress.org/trunk@57353 git-svn-id: http://core.svn.wordpress.org/trunk@56859 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
02cdd7f047
commit
493d73f5c0
|
@ -135,6 +135,20 @@ function _register_core_block_patterns_and_categories() {
|
|||
'description' => __( 'Different layouts containing video or audio.' ),
|
||||
)
|
||||
);
|
||||
register_block_pattern_category(
|
||||
'videos',
|
||||
array(
|
||||
'label' => _x( 'Videos', 'Block pattern category' ),
|
||||
'description' => __( 'Different layouts containing videos.' ),
|
||||
)
|
||||
);
|
||||
register_block_pattern_category(
|
||||
'audio',
|
||||
array(
|
||||
'label' => _x( 'Audio', 'Block pattern category' ),
|
||||
'description' => __( 'Different layouts containing audio.' ),
|
||||
)
|
||||
);
|
||||
register_block_pattern_category(
|
||||
'posts',
|
||||
array(
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.5-alpha-57352';
|
||||
$wp_version = '6.5-alpha-57353';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue