#61250 closed enhancement (fixed)
Backport: Add excerpt support to the wp_block post type
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Editor | Keywords: | has-patch |
Focuses: | Cc: |
Description
This trac ticket is for adding a PHP backport of https://github.com/WordPress/gutenberg/pull/60549,
which adds support for excerpts to the wp_block
post type.
The purpose is to enable using the excerpt as a description for patterns:
https://github.com/WordPress/gutenberg/issues/55244
Change History (7)
This ticket was mentioned in PR #6579 on WordPress/wordpress-develop by @poena.
12 months ago
#1
- Keywords has-patch added
@ntsekouras commented on PR #6579:
12 months ago
#2
Thanks @carolinan! It seems the failures are valid since the excerpt is returned in the API response.
12 months ago
#3
Thanks @carolinan! It seems the failures are valid since the excerpt is returned in the API response.
I don't know what that means, who can help fix it?
@ntsekouras commented on PR #6579:
12 months ago
#4
I don't know what that means, who can help fix it?
I'm not excerpt here, but I tried this:
- In your branch start the dev environment
npm run env:start
- Run the php tests
npm run test:php
- Just by running the tests, my
tests/qunit/fixtures/wp-api-generated.js
file got updated with theexcerpt
info inwp/v2/blocks
endpoint.
Can you try the above and then push the changes from the generated file? I believe this should be enough, but if this doesn't work, let's ping some more folks 😄
@SergeyBiryukov commented on PR #6579:
12 months ago
#7
Thanks for the PR! Merged in r58184.
Trac ticket: https://core.trac.wordpress.org/ticket/61250
Add excerpt to the list of supports when registering the wp_block post type.