Cannot Customize wp while wpmovielibrary plugin is active
-
Hi,
I have a template on my wordpress.
I can customize it fine when the wpmovielibrary plugin is disactivate.
But if I do activate it I got this error while clicking on the Apparence Customize link.
Uncaught ReferenceError: pagenow is not definedwpmoly.init @ wpmoly-utils.js?ver=2.1.4:303(anonymous function) @ wpmoly.js?ver=2.1.4:184m.Callbacks.j @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2m.Callbacks.k.fireWith @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2m.extend.ready @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2J @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,json2,utils,plupload&ver=4.1.1:2
I look a bit in the code and it seem that it break on this:
wpmoly.init = function() {
if ( ( ‘edit-movie’ == pagenow && ‘edit-php’ == adminpage ) || ( ‘movie’ == pagenow && ‘post-new-php’ == adminpage ) )
$( ‘#toplevel_page_wpmovielibrary, #toplevel_page_wpmovielibrary > a’ ).addClass( ‘wp-has-current-submenu wp-open-submenu’ );
};Any Ideas?
Thanks
The topic ‘Cannot Customize wp while wpmovielibrary plugin is active’ is closed to new replies.