Opened 6 years ago
Closed 6 years ago
#4448 closed defect (bug) (fixed)
Javascript actions broken on Consistency Tool due to 'jQuery is not defined'
Reported by: | garrett-eclipse | Owned by: | ocean90 |
---|---|---|---|
Milestone: | Priority: | normal | |
Component: | Translate Site & Plugins | Keywords: | |
Cc: |
Description
Hello,
Due to some recent updates to the translations tools it seems jQuery is no longer available on the Consistency page here;
https://translate.wordpress.org/consistency/
This causes a few issues;
- "View" link list does not work [in "There are x different translations. View"]
- "Hide" link goes to a blank page (https://translate.wordpress.org/getting-started/hide-notice/). Checked with different browsers. [in "New to Translating WordPress? Read through our Translator Handbook to get started. Hide" ; when you aren't logged in]
Source - https://wordpress.slack.com/archives/C02RP50LK/p1557355817218100
I confirmed this and found in the javascript console a bunch of errors;
'Uncaught ReferenceError: jQuery is not defined'
Thanks for looking into this.
Change History (3)
Note: See
TracTickets for help on using
tickets.
Looking at the recent commit by @ocean90 here - https://meta.trac.wordpress.org/changeset/8751
Seems this jquery enqueue was removed;
gp_enqueue_script( 'jquery' );