Viewing 1 replies (of 1 total)
  • I am also noticing an issue with jQuery being removed from the admin area when the plug-in is installed. Usually in the admin I have this line in the source:

    <script type='text/javascript' src='https://www.domain.com/wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate,utils,jquery-ui-widget,jquery-ui-core,jquery-ui-mouse,jquery-ui-sortable,postbox&ver=4.3.1'></script>

    This is removed when the plug-in is enabled. Looking at the plug-in code, if I return the $src in the admin area, instead of doing nothing, it seems to solve the problem:

    if ( is_admin() ) {
    	return $src;
    }

    Not sure if this workaround causes any unintended consequences but it seems to be working properly.

Viewing 1 replies (of 1 total)
  • The topic ‘Errors with WP Admin’ is closed to new replies.