WordPress.org

Make WordPress Core

Opened 2 years ago

Closed 2 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:
Milestone: Priority: normal
Severity: normal Version: 5.0.2
Component: Editor Keywords:
Focuses: Cc:

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.

Change History (1)

#1 @swissspidy
2 years ago

  • Component changed from General to Editor
  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Severity changed from major to normal
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.