WPMS Network Global Inserts
[resolved] Including a js file that does not exist (3 posts)

  1. dspilka
    Posted 3 years ago #

    Looks like this plugin is including a js file (/assets/js/script.js) that doesn't exist. It doesn't cause an issue, it just doesn't doesn't seem to need to. Seems like it gets called in wpms-network-global-inserts.php in this function:

    function load_script()
                wp_enqueue_script('wpmsngi_script', WPMSNGI_URL . '/assets/js/script.js', array('jquery'));

    I am going to dequeue it wiht this:

    add_action( 'wp_enqueue_scripts', 'remove_scripts', 99 );
    function remove_scripts() {
    	//Remove an 404 js file that the WPME Network Global Inserts plugin is including


  2. rubenstorm
    Plugin Author

    Posted 2 years ago #

    Thanks for the advice, i will take it out in the next version

  3. rubenstorm
    Plugin Author

    Posted 2 years ago #

    Version 0.0.3 is allready on github and i will update here soon. Your problem should be solved in that version

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WPMS Network Global Inserts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic