wp Not defined in back-end.js, results in Widgets javascript not working
-
I have just upgraded to the latest version of this plugin (currently 2) and after the upgrade, the widgets page’s javascript does not work. Using Firebug, I got the error:
ReferenceError: wp is not defined wp-content/plugins/hw-image-widget/js/back-end.js?ver=1.6 - Line 213
That line is:
this.originalMediaLibrary = wp.media.view.MediaFrame.Select;
When I comment out that line, there are more errors, all the same, just different line numbers.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘wp Not defined in back-end.js, results in Widgets javascript not working’ is closed to new replies.