• robertmglynn

    (@robertmglynn)


    In case you update and get the “wp_register_script was called incorrectly” error, comment out lines 98 & 99:

    //$script_path = $this->plugin_url . '/javascripts/jquery.colorbox-min.js';
    		//wp_register_script( 'colorbox', $script_path );

    and add

    add_action('wp_enqueue_script','load_scripts');

    at line 124 (or any line in the filters_and_hooks method).

    WordPress v.3.4.2
    Smart-YouTube PRO v.4.1.7

    https://www.ads-software.com/extend/plugins/smart-youtube/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved?] wp_register_script was called incorrectly’ is closed to new replies.