[wp-trac] [WordPress Trac] #58333: WordPress 6.2.1 Shortcodes some shortcode no longer works!

WordPress Trac noreply at wordpress.org
Thu May 18 13:36:55 UTC 2023


#58333: WordPress 6.2.1 Shortcodes some shortcode no longer works!
--------------------------+-----------------------
 Reporter:  jorcus        |       Owner:  (none)
     Type:  defect (bug)  |      Status:  reopened
 Priority:  normal        |   Milestone:  6.2.2
Component:  Shortcodes    |     Version:  6.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+-----------------------

Comment (by danwol702):

 Replying to [comment:64 domainsupport]:
 > I ''think'' that the problem was / is that the `do_shortcode` filter is
 run on the **entire** HTML **after** blocks have been rendered. This means
 that anything that has a shortcode in the template content has the
 shortcode rendered whether it's user content or a shortcode block or
 whatever! Eeek!

 Wow!

 So rather than running do_shortcode at a more sensible time (I assume
 that's why classic themes are still ok?) someone decided that just not
 having shortcodes at all ''and not telling anyone'' would be better?

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


More information about the wp-trac mailing list