Make WordPress Core


Ignore:
Timestamp:
05/23/2024 01:39:09 PM (18 months ago)
Author:
SergeyBiryukov
Message:

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:

Reference: #55244: Patterns: Add descriptions to user-created patterns.

Follow-up to [44146], [44150], [50835], [56030].

Props poena, ntsekouras, krupalpanchal.
Fixes #61250.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/post.php

    r58175 r58184  
    329329            'supports'              => array(
    330330                'title',
     331                'excerpt',
    331332                'editor',
    332333                'revisions',
Note: See TracChangeset for help on using the changeset viewer.