Plugin Directory

Changeset 1549266


Ignore:
Timestamp:
12/08/2016 12:31:27 PM (9 years ago)
Author:
johansylvan
Message:

Release 1.5.2

Location:
custom-cookie-message
Files:
10 edited
1 copied

Legend:

Unmodified
Added
Removed
  • custom-cookie-message/tags/1.5.2/README.txt

    r1546313 r1549266  
    22Contributors: johansylvan, angrycreative, kylegard
    33Tags:  custom, cookie, message, consent, cookie bar, cookie compliance, cookie law, cookie notice, cookie notification, cookie notification bar, cookie notify, cookies, eu, eu cookie, eu cookie law, notice, notification, notify, custom cookie message, WPML, Polylang, Multisite, multisites, local storage
    4 Requires at least: 1.0
    5 Tested up to: 1.5.1
    6 Stable tag: 1.5.1
     4Requires at least: 4.6.1
     5Tested up to: 4.7
     6Stable tag: 1.5.2
     7
    78License: GPLv2 or later
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    20211. Add the plugin custom cookie message to your plugins map
    21221. Activate the plugin through the 'Plugins' menu in WordPress
     231. Locate the options in settings -> Cookies. Default location, content and styling is set but can be customized.
     24
     25== Changelog ==
     26
     27= 1.0 =
     28* Initial commit.
     29
     30= 1.1 =
     31* Add debounce for scroll events.
     32
     33= 1.2 =
     34* Add localstorage.
     35
     36= 1.3 =
     37* Add possibility to use styling from theme.
     38
     39= 1.4 =
     40* Redefine styling.
     41
     42= 1.5 =
     43* Improved the functionality of adding styling from theme.
     44
     45= 1.5.1 =
     46* Add minor styling fix.
     47
     48= 1.5.2 =
     49* Look over code to work for older versions of php.
  • custom-cookie-message/tags/1.5.2/custom-cookie-message.php

    r1546313 r1549266  
    55 * Plugin URI: https://angrycreative.se/
    66 * Description: A customizable cookie message.
    7  * Version: 1.5.1
     7 * Version: 1.5.2
    88 * Author: Johan Sylvan, angrycreative
    99 * Author URI: https://angrycreative.se/
  • custom-cookie-message/tags/1.5.2/includes/ac-cookie-message.php

    r1541779 r1549266  
    9191
    9292    public function register_backend_plugin_scripts(){
    93         wp_enqueue_script('variation-custom-cookie-script', CUSTOM_COOKIE_MESSAGE_PLUGIN_URL . '/js/ac-custom-cookie-message-backend.js', ['jquery', 'jquery-ui-slider', 'wp-color-picker']);
     93        wp_enqueue_script('variation-custom-cookie-script', CUSTOM_COOKIE_MESSAGE_PLUGIN_URL . '/js/ac-custom-cookie-message-backend.js', array( 'jquery', 'jquery-ui-slider', 'wp-color-picker'));
    9494        add_action('admin_enqueue_scripts', array( $this, 'enqueue_admin_js' ) );
    9595    }
  • custom-cookie-message/tags/1.5.2/js/ac-custom-cookie-message-frontend.js

    r1541779 r1549266  
    8787        })
    8888        .done(function( data ) {
    89             storage.setItem("ac-cookie-fallback", "fallback");
     89            if(storage){
     90                storage.setItem("ac-cookie-fallback", "fallback");
     91            }
     92
    9093            $('#custom-cookie-message-container').hide();
    9194            if( cookieContainer.hasClass('top-static') ) {
  • custom-cookie-message/tags/1.5.2/views/cookie-notice.php

    r1546313 r1549266  
    7272    <?php if(!empty( $styling_options['link_color_picker'] )){ ?>
    7373        #custom-cookie-message-container.warning-text a:link{
    74             color: <?php echo $styling_options['link_color_picker'];?>;
     74            color: <?php echo $styling_options['link_color_picker'];?> !important;
    7575        }
    7676    <?php } ?>
  • custom-cookie-message/trunk/README.txt

    r1546313 r1549266  
    22Contributors: johansylvan, angrycreative, kylegard
    33Tags:  custom, cookie, message, consent, cookie bar, cookie compliance, cookie law, cookie notice, cookie notification, cookie notification bar, cookie notify, cookies, eu, eu cookie, eu cookie law, notice, notification, notify, custom cookie message, WPML, Polylang, Multisite, multisites, local storage
    4 Requires at least: 1.0
    5 Tested up to: 1.5.1
    6 Stable tag: 1.5.1
     4Requires at least: 4.6.1
     5Tested up to: 4.7
     6Stable tag: 1.5.2
     7
    78License: GPLv2 or later
    89License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    20211. Add the plugin custom cookie message to your plugins map
    21221. Activate the plugin through the 'Plugins' menu in WordPress
     231. Locate the options in settings -> Cookies. Default location, content and styling is set but can be customized.
     24
     25== Changelog ==
     26
     27= 1.0 =
     28* Initial commit.
     29
     30= 1.1 =
     31* Add debounce for scroll events.
     32
     33= 1.2 =
     34* Add localstorage.
     35
     36= 1.3 =
     37* Add possibility to use styling from theme.
     38
     39= 1.4 =
     40* Redefine styling.
     41
     42= 1.5 =
     43* Improved the functionality of adding styling from theme.
     44
     45= 1.5.1 =
     46* Add minor styling fix.
     47
     48= 1.5.2 =
     49* Look over code to work for older versions of php.
  • custom-cookie-message/trunk/custom-cookie-message.php

    r1546313 r1549266  
    55 * Plugin URI: https://angrycreative.se/
    66 * Description: A customizable cookie message.
    7  * Version: 1.5.1
     7 * Version: 1.5.2
    88 * Author: Johan Sylvan, angrycreative
    99 * Author URI: https://angrycreative.se/
  • custom-cookie-message/trunk/includes/ac-cookie-message.php

    r1541779 r1549266  
    9191
    9292    public function register_backend_plugin_scripts(){
    93         wp_enqueue_script('variation-custom-cookie-script', CUSTOM_COOKIE_MESSAGE_PLUGIN_URL . '/js/ac-custom-cookie-message-backend.js', ['jquery', 'jquery-ui-slider', 'wp-color-picker']);
     93        wp_enqueue_script('variation-custom-cookie-script', CUSTOM_COOKIE_MESSAGE_PLUGIN_URL . '/js/ac-custom-cookie-message-backend.js', array( 'jquery', 'jquery-ui-slider', 'wp-color-picker'));
    9494        add_action('admin_enqueue_scripts', array( $this, 'enqueue_admin_js' ) );
    9595    }
  • custom-cookie-message/trunk/js/ac-custom-cookie-message-frontend.js

    r1541779 r1549266  
    8787        })
    8888        .done(function( data ) {
    89             storage.setItem("ac-cookie-fallback", "fallback");
     89            if(storage){
     90                storage.setItem("ac-cookie-fallback", "fallback");
     91            }
     92
    9093            $('#custom-cookie-message-container').hide();
    9194            if( cookieContainer.hasClass('top-static') ) {
  • custom-cookie-message/trunk/views/cookie-notice.php

    r1546313 r1549266  
    7272    <?php if(!empty( $styling_options['link_color_picker'] )){ ?>
    7373        #custom-cookie-message-container.warning-text a:link{
    74             color: <?php echo $styling_options['link_color_picker'];?>;
     74            color: <?php echo $styling_options['link_color_picker'];?> !important;
    7575        }
    7676    <?php } ?>
Note: See TracChangeset for help on using the changeset viewer.