The solution to cube portfolio hang in admin page:
Latest wp has vhanged jQuery version, so cube needs the old one:
To isolate the change only in the affected page, add this to your functions.php
// include custom jQuery
function cubeportfolio_include_custom_jquery($hook_suffix) {
if($hook_suffix == 'toplevel_page_cubeportfolio') {
wp_deregister_script('jquery');
wp_enqueue_script('jquery', 'https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js', array(), null, true);
}
}
add_action('admin_enqueue_scripts', 'cubeportfolio_include_custom_jquery');
This is related to these closed Topics: