[wp-trac] [WordPress Trac] #58366: Shortcode Support Regained but Content Filters are messing with Shortcode HTML

WordPress Trac noreply at wordpress.org
Mon Jul 24 21:27:36 UTC 2023


#58366: Shortcode Support Regained but Content Filters are messing with Shortcode
HTML
-------------------------------------------------+-------------------------
 Reporter:  domainsupport                        |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Shortcodes                           |     Version:  6.2.2
 Severity:  normal                               |  Resolution:
 Keywords:  needs-testing has-testing-info       |     Focuses:
  needs-unit-tests has-patch                     |
-------------------------------------------------+-------------------------

Comment (by ryno267):

 Running 6.3-RC1, no change, same issue with many `<br>`'s added.

 Setup is a menu of pages via code function... call that via a shortcode
 block that's in a sidebar/aside template part.
 Since 6.2.1 only the shortcode [name_here] displays.
 Doing the "hack" where you make the shortcode block in a template part...
 and adding that template part to the template (instead of the shortcode
 directly) works to where it displays the menu content but with a lot of
 BR's in between everything.

 ...see this isn't in 6.3 so that's concerning.

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


More information about the wp-trac mailing list