Opened 8 years ago
Closed 8 years ago
#45738 closed defect (bug) (reported-upstream)
Google Trends embed graphs (Javascript) not working in WordPress 5.0.2
| Reported by: | freshmaker103 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Editor | Version: | 5.0.2 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Upstream ticket: https://github.com/WordPress/gutenberg/issues/13070