[wp-trac] [WordPress Trac] #62827: get_the_content() is not generating group blocks wp-block-group__inner container

WordPress Trac noreply at wordpress.org
Mon Jan 20 11:29:08 UTC 2025


#62827: get_the_content() is not generating group blocks wp-block-group__inner
container
-------------------------------------+-------------------------------------
 Reporter:  fahrenheitch             |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  General                  |     Version:  6.6.2
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch reporter-    |     Focuses:  css, template, coding-
  feedback                           |  standards
-------------------------------------+-------------------------------------
Changes (by poena):

 * keywords:  needs-patch => needs-patch reporter-feedback
 * severity:  major => normal


Comment:

 Hi @fahrenheitch and welcome to WordPress trac.

 The inner div on the group is added by a filter, so perhaps the filter is
 not applied, I did not dig further.

 https://github.com/WordPress/wordpress-develop/blob/trunk/src/wp-includes
 /block-supports/layout.php#L969

 Can you please include detailed step-by-step instructions for how to test
 this issue.
 Including:
 The code for the shortcode registration.
 The context and complete code for the use of get_the_content.
 The original block markup.

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


More information about the wp-trac mailing list