[wp-trac] [WordPress Trac] #63909: Automatic excerpts: support lists in addition to columns and groups

WordPress Trac noreply at wordpress.org
Thu Apr 9 07:20:32 UTC 2026


#63909: Automatic excerpts: support lists in addition to columns and groups
--------------------------------------+-----------------------
 Reporter:  jeherve                   |       Owner:  audrasjb
     Type:  defect (bug)              |      Status:  accepted
 Priority:  normal                    |   Milestone:  7.1
Component:  Editor                    |     Version:  5.8
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+-----------------------
Changes (by gaisma22):

 * keywords:  has-patch has-unit-tests needs-testing => has-patch has-unit-
     tests


Comment:

 == Patch Testing Report
 Patch Tested: https://github.com/WordPress/wordpress-develop/pull/9704

 === Environment
 - WordPress: 7.0-beta6-62085-src
 - PHP: 8.3.30
 - Server: nginx/1.29.7
 - Database: MySQL 8.4.8
 - Browser: Brave
 - OS: Ubuntu 24.04
 - Theme: Twenty Twenty-Five 1.4
 - MU Plugins: None
 - Plugins: None

 === Steps Taken
 1. Created a new post using a List block with three items.
 2. Published without a custom excerpt.
 3. Checked the generated excerpt via the REST API at
    /wp-json/wp/v2/posts/13.
    **Before patch:** excerpt.rendered was completely empty.
    List content was not pulled into the excerpt at all.
 4. Applied PR #9704 and created a new post with the same steps.
    Checked /wp-json/wp/v2/posts/15.
    **After patch:** List items appear correctly in the excerpt.

 ✅ Patch is solving the problem

 === Expected Result
 When WordPress generates an automatic excerpt from a post using a List
 block, the list item content should be included in the generated excerpt.

 === Additional Notes
 1. Bug confirmed on WordPress 7.0-beta6. List block content was
    completely ignored when generating automatic excerpts.
 2. After the patch, list content is correctly extracted and
    included in the excerpt.
 3. Removing **`needs-testing`** as patch resolves the issue on
    WordPress 7.0-beta6-62085-src.

 === Screenshots/Screencast with results
 **Before Patch:**
 [[Image(https://i.ibb.co/P7tcttk/before-excerpt.png)]]

 **After Patch:**
 [[Image(https://i.ibb.co/LXRLsr17/after-excerpt.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63909#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list