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

WordPress Trac noreply at wordpress.org
Tue Jun 13 15:01:57 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                               |
-------------------------------------------------+-------------------------

Comment (by askthecompgeek):

 After upgrading my website to WordPress 6.2.2, I followed the suggestion
 of placing my shortcode in a template part and it worked for one website
 but not another. I'm really new to WordPress so I didn't know how to setup
 a debug environment in order to debug the code so I went old school brut
 force and started comparing components of each website. Through trial and
 error I discovered I had to do two things in order for a shortcode to work
 in websites running 6.2.2:

 1. Place the shortcode in a template part and use that template part where
 you would use the shortcode
 2. Include the addin Gutenverse

 I can't tell you why adding Gutenverse solved the issue but hopefully the
 experts can quickly discover what this addin did and release a 6.2.3 patch
 so we don't have to run this addin if we don't need it.

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


More information about the wp-trac mailing list