Make WordPress Core

Opened 12 months ago

Last modified 12 months ago

#58469 new defect (bug)

Changeset 55832 broke shortcodes saved in block attributes and rendered serverside

Reported by: brumack's profile brumack Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 6.2.2
Component: Shortcodes Keywords:
Focuses: Cc:

Description (last modified by sabernhardt)

simply put, if a shortcode is saved to a block attribute and rendered as part of its render_callback, it no longer parses the shortcode as do_shortcode is now called before do_blocks

see [55832]

Change History (2)

#1 @sabernhardt
12 months ago

  • Component changed from General to Shortcodes
  • Description modified (diff)
  • Summary changed from https://core.trac.wordpress.org/changeset/55832 broke shortcodes saved in block attributes and rendered serverside to Changeset 55832 broke shortcodes saved in block attributes and rendered serverside
  • Version set to 6.2.2

#2 @brumack
12 months ago

To clarify: this only applies to the template part rendering, this still works in post content.

Note: See TracTickets for help on using tickets.