Plugin Directory

Changeset 1008954


Ignore:
Timestamp:
10/17/2014 06:32:26 AM (11 years ago)
Author:
darkwhispering
Message:

Added missing jquery dependency to wp_enqueue_script

Location:
advanced-browser-check
Files:
2 deleted
3 edited
6 copied

Legend:

Unmodified
Added
Removed
  • advanced-browser-check/tags/4.0.1/abc-core.php

    r1008951 r1008954  
    219219
    220220        // jQuery cookie, used to add a cookie so visitors can hide the popup
    221         wp_enqueue_script("apc_jquery_cookie", plugins_url('/js/jquery.cookie.js', __FILE__));
     221        wp_enqueue_script("apc_jquery_cookie", plugins_url('/js/jquery.cookie.js', __FILE__), array('jquery'));
    222222
    223223        // The ajax request so the plugin works with caching plugins
    224         wp_enqueue_script("abc_script", plugins_url('/js/script.js', __FILE__));
     224        wp_enqueue_script("abc_script", plugins_url('/js/script.js', __FILE__), array('jquery'));
    225225    }
    226226
  • advanced-browser-check/tags/4.0.1/advanced-browser-check.php

    r1008951 r1008954  
    55Description: Tell IE users to change browser? Or is your site for Chrome only? Now you choose what browsers should trigger a warning popup or not on your site.
    66Author: Mattias Hedman
    7 Version: 4.0.0
     7Version: 4.0.1
    88Author URI: http://www.darkwhispering.com
    99*/
    1010
    11 define('ABC_VERSION', '4.0.0');
     11define('ABC_VERSION', '4.0.1');
    1212
    1313if(!defined('ABC_DIR_PATH')) {
  • advanced-browser-check/tags/4.0.1/readme.txt

    r1008951 r1008954  
    55Requires at least: 3.0.0
    66Tested up to: 4.0.0
    7 Stable tag: 4.0.0
     7Stable tag: 4.0.1
    88
    99Tell IE users to change browser? Or is your site for Chrome only? Now you choose what browsers should trigger a warning popup or not on your site.
     
    8787== Changelog ==
    8888
     89= 4.0.1 =
     90* Added missing jquery dependency to wp_enqueue_script
     91
    8992= 4.0.0 =
    9093* Reverted back from Browscap, it gave more problems and issues then it solved.
  • advanced-browser-check/trunk/abc-core.php

    r1008951 r1008954  
    219219
    220220        // jQuery cookie, used to add a cookie so visitors can hide the popup
    221         wp_enqueue_script("apc_jquery_cookie", plugins_url('/js/jquery.cookie.js', __FILE__));
     221        wp_enqueue_script("apc_jquery_cookie", plugins_url('/js/jquery.cookie.js', __FILE__), array('jquery'));
    222222
    223223        // The ajax request so the plugin works with caching plugins
    224         wp_enqueue_script("abc_script", plugins_url('/js/script.js', __FILE__));
     224        wp_enqueue_script("abc_script", plugins_url('/js/script.js', __FILE__), array('jquery'));
    225225    }
    226226
  • advanced-browser-check/trunk/advanced-browser-check.php

    r1008951 r1008954  
    55Description: Tell IE users to change browser? Or is your site for Chrome only? Now you choose what browsers should trigger a warning popup or not on your site.
    66Author: Mattias Hedman
    7 Version: 4.0.0
     7Version: 4.0.1
    88Author URI: http://www.darkwhispering.com
    99*/
    1010
    11 define('ABC_VERSION', '4.0.0');
     11define('ABC_VERSION', '4.0.1');
    1212
    1313if(!defined('ABC_DIR_PATH')) {
  • advanced-browser-check/trunk/readme.txt

    r1008951 r1008954  
    55Requires at least: 3.0.0
    66Tested up to: 4.0.0
    7 Stable tag: 4.0.0
     7Stable tag: 4.0.1
    88
    99Tell IE users to change browser? Or is your site for Chrome only? Now you choose what browsers should trigger a warning popup or not on your site.
     
    8787== Changelog ==
    8888
     89= 4.0.1 =
     90* Added missing jquery dependency to wp_enqueue_script
     91
    8992= 4.0.0 =
    9093* Reverted back from Browscap, it gave more problems and issues then it solved.
Note: See TracChangeset for help on using the changeset viewer.