Version Description
- Minor bug fix: adds version number to cli-admin.css
Download this release
Release Info
Developer | richardashby |
Plugin | Cookie Law / GDPR Info |
Version | 1.5.2 |
Comparing to | |
See all releases |
Code changes from version 1.5.1 to 1.5.2
- cookie-law-info.php +1 -1
- js/cookielawinfo.js +1 -1
- php/functions.php +8 -4
- readme.txt +4 -1
cookie-law-info.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://wordpress.org/extend/plugins/cookie-law-info/description/
|
|
5 |
Description: A simple way of 'implied consent' to show your website complies with the EU Cookie Law, which came into force on 26 May 2012.
|
6 |
Author: Richard Ashby
|
7 |
Author URI: http://cookielawinfo.com/
|
8 |
-
Version: 1.5.
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
5 |
Description: A simple way of 'implied consent' to show your website complies with the EU Cookie Law, which came into force on 26 May 2012.
|
6 |
Author: Richard Ashby
|
7 |
Author URI: http://cookielawinfo.com/
|
8 |
+
Version: 1.5.2
|
9 |
License: GPL2
|
10 |
*/
|
11 |
|
js/cookielawinfo.js
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
function cli_show_cookiebar(p) {
|
2 |
-
/* plugin version 1.5.
|
3 |
var Cookie = {
|
4 |
set: function(name,value,days) {
|
5 |
if (days) {
|
1 |
function cli_show_cookiebar(p) {
|
2 |
+
/* plugin version 1.5.2 */
|
3 |
var Cookie = {
|
4 |
set: function(name,value,days) {
|
5 |
if (days) {
|
php/functions.php
CHANGED
@@ -123,14 +123,18 @@ function cookielawinfo_inject_cli_script() {
|
|
123 |
function cookielawinfo_enqueue_frontend_scripts() {
|
124 |
$the_options = cookielawinfo_get_admin_settings();
|
125 |
if ( $the_options['is_on'] == true ) {
|
|
|
|
|
|
|
|
|
|
|
126 |
|
127 |
-
wp_register_style( 'cookielawinfo-style', CLI_PLUGIN_URL . 'css/cli-style.css' );
|
128 |
wp_enqueue_style( 'cookielawinfo-style' );
|
129 |
|
130 |
-
|
131 |
-
wp_enqueue_script( 'cookie-law-info-script', CLI_PLUGIN_URL . 'js/cookielawinfo.js', array( 'jquery' ), '1.5.1' );
|
132 |
}
|
133 |
-
wp_register_style( 'cookielawinfo-table-style', CLI_PLUGIN_URL . 'css/cli-tables.css' );
|
134 |
}
|
135 |
|
136 |
|
123 |
function cookielawinfo_enqueue_frontend_scripts() {
|
124 |
$the_options = cookielawinfo_get_admin_settings();
|
125 |
if ( $the_options['is_on'] == true ) {
|
126 |
+
|
127 |
+
/**
|
128 |
+
* Force reload
|
129 |
+
*/
|
130 |
+
$version = '1.5.2';
|
131 |
|
132 |
+
wp_register_style( 'cookielawinfo-style', CLI_PLUGIN_URL . 'css/cli-style.css', null, $version );
|
133 |
wp_enqueue_style( 'cookielawinfo-style' );
|
134 |
|
135 |
+
wp_enqueue_script( 'cookie-law-info-script', CLI_PLUGIN_URL . 'js/cookielawinfo.js', array( 'jquery' ), $version );
|
|
|
136 |
}
|
137 |
+
wp_register_style( 'cookielawinfo-table-style', CLI_PLUGIN_URL . 'css/cli-tables.css', null, $version );
|
138 |
}
|
139 |
|
140 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://cookielawinfo.com/donate
|
|
4 |
Tags: eu cookie law, cookie law, eu privacy directive, privacy directive, cookies, privacy, compliance
|
5 |
Requires at least: 3.3.1
|
6 |
Tested up to: 4.2.2
|
7 |
-
Stable tag: 1.5.
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -141,6 +141,9 @@ See http://cookielawinfo.com for more information on what is required.
|
|
141 |
|
142 |
== Changelog ==
|
143 |
|
|
|
|
|
|
|
144 |
= 1.5.1 =
|
145 |
* Bug fix: HTML5 validation fix for shortcode links (thanks to davidebabylonia)
|
146 |
* Added JavaScript version number for greater compatibility
|
4 |
Tags: eu cookie law, cookie law, eu privacy directive, privacy directive, cookies, privacy, compliance
|
5 |
Requires at least: 3.3.1
|
6 |
Tested up to: 4.2.2
|
7 |
+
Stable tag: 1.5.2
|
8 |
License: GPLv2
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
141 |
|
142 |
== Changelog ==
|
143 |
|
144 |
+
= 1.5.2 =
|
145 |
+
* Minor bug fix: adds version number to cli-admin.css
|
146 |
+
|
147 |
= 1.5.1 =
|
148 |
* Bug fix: HTML5 validation fix for shortcode links (thanks to davidebabylonia)
|
149 |
* Added JavaScript version number for greater compatibility
|