• Resolved annaam

    (@annaam)


    Hi,

    After updating to WordPress 6.9, this plugin is triggering warnings in the console related to:

    Missing dependencies: json2

    The Freemius SDK bundled with the plugin includes multiple calls to:

    wp_enqueue_script( ‘json2’ );

    Since WordPress removed the json2 polyfill script in 6.9, these handles no longer exist and generate missing dependency notices.

    If a fix could be implemented at some point, that would be great. Not affecting our functionality necessarily, but always best practice to keep plugins up to date and modern.

    plugins/shortcodes-ultimate/freemius/includes/class-freemius.php:            

    wp_enqueue_script( ‘json2’ );

    plugins/shortcodes-ultimate/freemius/templates/pricing.php:

    wp_enqueue_script( ‘json2’ );

    plugins/shortcodes-ultimate/freemius/templates/checkout/frame.php:

    wp_enqueue_script( ‘json2’ );

    plugins/shortcodes-ultimate/freemius/templates/checkout/process-redirect.php: wp_enqueue_script( ‘json2’ );

    plugins/shortcodes-ultimate/freemius/templates/contact.php:

    wp_enqueue_script( ‘json2’ );

    Best,

    • This topic was modified 3 months, 3 weeks ago by annaam. Reason: added all php files with json2 enqueued

You must be logged in to reply to this topic.