• Resolved duy1412

    (@duy1412)


    Hi sonalsinha21

    I recently updated the SKT Skill Bar Plugin, but I noticed that it still causes an issue where I cannot access the WordPress Customizer. When trying to visit /wp-admin/customize.php?return=%2Fwp-admin%2F, it does not load properly.

    I have temporarily fixed the issue by applying the following solution:

    function sbar_register_scripts() {
    if ( !is_admin() ) {
    wp_enqueue_script('jquery');

    wp_register_script('bar_script', plugins_url('skill_bar/bar/jquery.appear.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('bar_script');

    wp_register_script('circle_script', plugins_url('skill_bar/circle/jquery.easy-pie-chart.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('circle_script');

    wp_register_script('circle_custom_script', plugins_url('skill_bar/circle/custom.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('circle_custom_script');

    wp_register_script('gage_script', plugins_url('skill_bar/gage/justgage.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('gage_script');

    wp_register_script('gage_raphael_script', plugins_url('skill_bar/gage/raphael-2.1.4.min.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('gage_raphael_script');

    }
    if ( ! is_customize_preview() ) {

    wp_register_script('chart-js-script', plugins_url('skill_bar/js/Chart.js', __FILE__),'',SB_VER,false);
    wp_enqueue_script('chart-js-script');

    wp_register_script( 'chart.min.js-script', SKT_sbar_URI . '/skill_bar/js/chart.min.js', array( 'jquery' ),SB_VER,false);
    wp_enqueue_script('chart.min.js-script');
    }

    }

    I hope you can review this and include the fix in the next update. Let me know if you need any additional details.

    Best regards,

    Duy

Viewing 1 replies (of 1 total)
  • Plugin Author sonalsinha21

    (@sonalsinha21)

    Hi Duy,

    Thank you for pointing this out to me. We have released a new version of the plugin and the patch has been applied and this issue is now resolved.

    Regards,

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.