mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Editor: Add excerpt
support to the wp_block
post type.
The purpose is to enable using the excerpt as a description for user-created patterns on the Site Editor Pattern screens. This commit backports the original PR from Gutenberg repository: * [[https://github.com/WordPress/gutenberg/pull/60549|#60549: [Data Views] User patterns: Use excerpt as description]] Reference: [[https://github.com/WordPress/gutenberg/issues/55244|#55244: Patterns: Add descriptions to user-created patterns]]. Follow-up to [44146], [44150], [50835], [56030]. Props poena, ntsekouras, krupalpanchal. Fixes #61250. Built from https://develop.svn.wordpress.org/trunk@58184 git-svn-id: http://core.svn.wordpress.org/trunk@57647 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6cb9583d5d
commit
0d6e7f33c4
@ -328,6 +328,7 @@ function create_initial_post_types() {
|
|||||||
'map_meta_cap' => true,
|
'map_meta_cap' => true,
|
||||||
'supports' => array(
|
'supports' => array(
|
||||||
'title',
|
'title',
|
||||||
|
'excerpt',
|
||||||
'editor',
|
'editor',
|
||||||
'revisions',
|
'revisions',
|
||||||
'custom-fields',
|
'custom-fields',
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '6.6-alpha-58183';
|
$wp_version = '6.6-alpha-58184';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
Loading…
Reference in New Issue
Block a user