[wp-trac] [WordPress Trac] #45738: Google Trends embed graphs (Javascript) not working in WordPress 5.0.2

WordPress Trac noreply at wordpress.org
Fri Dec 21 22:48:19 UTC 2018


#45738: Google Trends embed graphs (Javascript) not working in WordPress 5.0.2
---------------------------+-----------------------------
 Reporter:  freshmaker103  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  General        |    Version:  5.0.2
 Severity:  major          |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Hi,

 I recently updated to WordPress 5.0.2 and now Google Trends embed graphs
 are not showing up in any of my published Posts. I have been embedding
 Google Trends in all my Posts and didn't have an issue until the update.
 Google Trends embed uses Javascript code.

 Essentially, when I create a new Post, the embed script appears in the
 Code Editor, but nothing appears when I publish. It's a blank space.
 Obviously the new version of WordPress is not processing Javascript
 correctly in line with pre-Gutenberg versions.

 Is there a way to fix this without going into every individual Post? I
 have thousands of Posts and it would take too long to manually fix
 everything. Thank you.

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


More information about the wp-trac mailing list