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

WordPress Trac noreply at wordpress.org
Fri May 19 12:59:38 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 agendah):

 What is the practical difference between doing
 {{{
 wp_kses_post(do_shortcode())
 }}}
 and
 {{{
 wp_kses_post(do_blocks())
 }}}
 ? Shouldn't core re-enable shortcodes in templates this way. Otherwise,
 with same logic, we should also remove blocks from block templates as they
 are vulnerable. Having nothing to draw eliminates vulnerabilities.

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


More information about the wp-trac mailing list