[wp-trac] [WordPress Trac] #47637: Enhance excerpt_remove_blocks to handle more types of group blocks

WordPress Trac noreply at wordpress.org
Sat Oct 12 14:55:35 UTC 2019


#47637: Enhance excerpt_remove_blocks to handle more types of group blocks
-------------------------------+-----------------------------
 Reporter:  kuchenundkakao     |       Owner:  (none)
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Future Release
Component:  Posts, Post Types  |     Version:  5.2.2
 Severity:  normal             |  Resolution:
 Keywords:  needs-patch        |     Focuses:
-------------------------------+-----------------------------

Comment (by eherman24):

 It would be nice if there were a filter added to allow other blocks,
 beyond the core/columns block, to output excerpts. Some further discussion
 was going on in our CoBlocks Github repo
 https://github.com/godaddy/coblocks/issues/735

 Adding a filter in wp-includes/blocks.php line 163
 https://github.com/WordPress/WordPress/blob/master/wp-
 includes/blocks.php#L163 would be beneficial to allowing additional blocks
 to be run through `_excerpt_render_inner_columns_blocks()`.

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


More information about the wp-trac mailing list