• pandorino

    (@pandorino)


    We’ve spotted an error on line 83 of the file widget-twitter.php

    the JS file is called beginning with a slash, that results in an error on some servers.

    wp_enqueue_script( 'do-etfw-twitter-widgets', DO_ETFW_URI . '/js/twitter-widgets.js', array( 'jquery' ), '1.0', true );

    the JS file should be called without the slash, so:

    wp_enqueue_script( 'do-etfw-twitter-widgets', DO_ETFW_URI . 'js/twitter-widgets.js', array( 'jquery' ), '1.0', true );

    We had the problem on CDN but was working fine on local installation.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Error in widget PHP file’ is closed to new replies.