[wp-trac] [WordPress Trac] #48888: HTML being stripped from shortcode blocks in blog posts

WordPress Trac noreply at wordpress.org
Thu Dec 5 18:24:32 UTC 2019


#48888: HTML being stripped from shortcode blocks in blog posts
--------------------------+-----------------------------
 Reporter:  kmwade        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Hi team

 I have a MailChimp newsletter signup form in the sidebar of my blog.
 Occasionally I add the same signup form to the body of my blog posts.
 Previously when I have done this, the one from the sidebar has been
 removed and just the one in the blog post is displayed.

 I tried to do this yesterday and discovered that wherever I have done
 this, now neither signup form shows. I asked my tech guy to take a look
 and he found that whenever the shortcode for the newsletter signup form is
 included in a blog post, the HTML is being stripped from the code meaning
 it’s not displayed. He suggested I try adding the form to a blank page and
 embedding it in my blog post to fix the issue. I did this using Elementor
 and it didn’t work.

 My tech guy is fairly sure this is a bug as he doesn’t think any of the
 HTML should be being messed with. And he said he’s fairly sure it’s a
 WordPress bug not a plugin or theme bug.

 I am unsure how long this issue has being going on for. Has anyone else
 reported a similar bug?

 I’m using the latest stable version of WP.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48888>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list