Make WordPress Core

Opened 9 months ago

#60887 new defect (bug)

After upgrade to WordPress 6.4.3, do_shortcode no longer works in page templates

Reported by: mgonzalez007's profile mgonzalez007 Owned by:
Milestone: Awaiting Review Priority: normal
Severity: critical Version: 6.4.3
Component: Shortcodes Keywords:
Focuses: template Cc:

Description

I have a page template that displays a section for events using The Events Calendar shortcode along with some params the user enters such as category and number of events to display. This worked prior to the update. I have tried moving the do_shortcode function to a template part and then loading that template part into my template, but get the same outcome. The shortcode is displayed as plain HTML.

echo do_shortcode('[tribe_events_list tags="' . $tag_parameter . '" limit="' . $number_of_events . '"]');

displays on front end as [tribe_events_list tags="dining-nightlife" limit="2"]

Change History (0)

Note: See TracTickets for help on using tickets.