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

WordPress Trac noreply at wordpress.org
Mon May 22 08:59:03 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:                 |     Focuses:
---------------------------+------------------------------

Comment (by aflijja):

 I second @domainsupport; here is another one ...

 {{{
 <p>        <script>
         jQuery(document).ready(function($) {</p>
 <p>            $('#wcps-558').slick({
                 adaptiveHeight: true,
                 slidesToShow: 4,
                 slidesToScroll: 4,
                 responsive: [{
                         breakpoint: 1200,
                         settings: {
                             slidesToShow: 4,
                             slidesToScroll: 4,
                             nav: true,
                         }
                     },
                     {
                         breakpoint: 768,
                         settings: {
                             slidesToShow: 2,
                             slidesToScroll: 2,
                             nav: true,
                         }
                     },
                     {
                         breakpoint: 576,
                         settings: {
                             slidesToShow: 1,
                             slidesToScroll: 1,
                             nav: true,
                             touchMove: true,
                             swipeToSlide: true,</p>
 <p>                        }
                     }
                 ],
                 gutter: 10,
                 arrows: true,
                 appendArrows: '.controlsWrap-558',
                 prevArrow: '</p>
 <div class="prev"><i class="fas fa-chevron-left"></i></div>
 <p>',
 }}}

 the strange part for me is this problem exist only on the front page.

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


More information about the wp-trac mailing list