• YaronE

    (@yaron_elh)


    Just notice that Software License Manager Loads, it’s jQuery on the front end, Is there a need for the jQuery to be loaded on the front end for the plugin to work? or is it a mini bug?

    (noticed it because it was render blocking the rendering of the website until jQuery loads)

    /// Currently it's 

    function loadscripts() {
    // Load all common scripts and styles only
    wp_enqueue_script('jquery'); // Loads jQuery on the front end

    // Load all admin side scripts and styles only
    if (is_admin()) {
    wp_enqueue_script('jquery-ui-datepicker');
    wp_enqueue_script('wplm-custom-admin-js'...);
    ...
    ...
    }
    }

    /// Shouldn't it be?

    function loadscripts() {
    if (is_admin()) {
    wp_enqueue_script('jquery');
    wp_enqueue_script('jquery-ui-datepicker');
    wp_enqueue_script('wplm-custom-admin-js'...);
    ...
    ...
    }
    }
    • This topic was modified 5 months ago by YaronE.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for reaching out to us. I have submitted a message to the developers to reply to your question.

    Kind regards.

    Plugin Author mra13

    (@mra13)

    Thank you. I will make a change to move it to the admin side only.

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