[wp-trac] [WordPress Trac] #53604: Excerpts don't handle `innerBlocks` for groups and nested columns properly

WordPress Trac noreply at wordpress.org
Wed Jul 7 19:09:57 UTC 2021


#53604: Excerpts don't handle `innerBlocks` for groups and nested columns properly
-------------------------------------------------+-------------------------
 Reporter:  aristath                             |       Owner:  desrosj
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.8
Component:  Posts, Post Types                    |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch has-unit-tests commit      |     Focuses:
  dev-feedback fixed-major                       |
-------------------------------------------------+-------------------------

Comment (by desrosj):

 In [changeset:"51375" 51375]:
 {{{
 #!CommitTicketReference repository="" revision="51375"
 Posts: Allow the list of wrapper blocks to be filtered.

 This introduces the `excerpt_allowed_wrapper_blocks` filter for
 controlling which blocks should be considered wrapper blocks.

 Wrapper blocks and their nested contents are not stripped by
 `excerpt_remove_blocks()`, allowing their contents to appear in generated
 excerpts.

 Follow up to [51348].

 Props aristath, jorbin.
 See #53604.
 }}}

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


More information about the wp-trac mailing list