[wp-trac] [WordPress Trac] #56780: shortcode block in block-based template part in a classic theme does not get expanded

WordPress Trac noreply at wordpress.org
Fri Jan 10 04:58:06 UTC 2025


#56780: shortcode block in block-based template part in a classic theme does not
get expanded
-------------------------------------------------+-------------------------
 Reporter:  pbiron                               |       Owner:  costdev
     Type:  defect (bug)                         |      Status:  assigned
 Priority:  high                                 |   Milestone:  Future
                                                 |  Release
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:
 Keywords:  has-testing-info has-screenshots     |     Focuses:
  has-patch has-unit-tests changes-requested     |
  early                                          |
-------------------------------------------------+-------------------------

Comment (by zuycxvp035):

 It seems that you're encountering an issue with shortcode blocks not being
 expanded when used within block-based template parts in a classic theme,
 specifically while testing the new feature in WordPress 6.1. You've
 mentioned that render callbacks for these shortcode blocks are not being
 called, and you've commented about it on the relevant Developer Note.

 To assist in moving this forward, it's a good idea to share the steps
 you've taken in testing, any error messages or logs, and the environment
 you're working in (like theme and plugin configurations). Since you're
 opening the ticket in WordPress Trac at the request of a WordPress
 contributor (@mamaduka), this is the right platform to discuss core issues
 like this one.

 In your Trac ticket, be sure to:

 Link to your comment on the Dev Note for reference.
 Include detailed steps to reproduce the issue.
 Provide information on your WordPress environment (e.g., theme, PHP
 version, any plugins active).
 Add any relevant screenshots or logs that might help others reproduce the
 problem.
 Would you like help drafting the ticket description or expanding on any
 particular details?

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


More information about the wp-trac mailing list