Cookie Notice by dFactory - Version 1.2.30

Version Description

  • Fix: jQuery error after accepting cookies
Download this release

Release Info

Developer dfactory
Plugin Icon 128x128 Cookie Notice by dFactory
Version 1.2.30
Comparing to
See all releases

Code changes from version 1.2.29 to 1.2.30

Files changed (3) hide show
  1. cookie-notice.php +3 -3
  2. js/front.js +3 -2
  3. readme.txt +6 -4
cookie-notice.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
- Version: 1.2.29
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
@@ -34,7 +34,7 @@ include_once( plugin_dir_path( __FILE__ ) . 'includes/update.php' );
34
  * Cookie Notice class.
35
  *
36
  * @class Cookie_Notice
37
- * @version 1.2.29
38
  */
39
  class Cookie_Notice {
40
 
@@ -69,7 +69,7 @@ class Cookie_Notice {
69
  'translate' => true,
70
  'deactivation_delete' => 'no'
71
  ),
72
- 'version' => '1.2.29'
73
  );
74
  private $positions = array();
75
  private $styles = array();
2
  /*
3
  Plugin Name: Cookie Notice
4
  Description: Cookie Notice allows you to elegantly inform users that your site uses cookies and to comply with the EU cookie law regulations.
5
+ Version: 1.2.30
6
  Author: dFactory
7
  Author URI: http://www.dfactory.eu/
8
  Plugin URI: http://www.dfactory.eu/plugins/cookie-notice/
34
  * Cookie Notice class.
35
  *
36
  * @class Cookie_Notice
37
+ * @version 1.2.30
38
  */
39
  class Cookie_Notice {
40
 
69
  'translate' => true,
70
  'deactivation_delete' => 'no'
71
  ),
72
+ 'version' => '1.2.30'
73
  );
74
  private $positions = array();
75
  private $styles = array();
js/front.js CHANGED
@@ -39,7 +39,7 @@
39
 
40
  });
41
 
42
- // Set Cookie Notice
43
  $.fn.setCookieNotice = function ( cookie_value ) {
44
 
45
  var cnTime = new Date(),
@@ -71,10 +71,11 @@
71
  self.removeCookieNotice();
72
  } );
73
  } else {
74
- this.removeCookieNotice();
75
  }
76
  };
77
 
 
78
  $.fn.removeCookieNotice = function ( cookie_value ) {
79
  $( '#cookie-notice' ).remove();
80
  $( 'body' ).removeClass( 'cookies-not-accepted' );
39
 
40
  });
41
 
42
+ // set Cookie Notice
43
  $.fn.setCookieNotice = function ( cookie_value ) {
44
 
45
  var cnTime = new Date(),
71
  self.removeCookieNotice();
72
  } );
73
  } else {
74
+ self.removeCookieNotice();
75
  }
76
  };
77
 
78
+ // remove Cookie Notice
79
  $.fn.removeCookieNotice = function ( cookie_value ) {
80
  $( '#cookie-notice' ).remove();
81
  $( 'body' ).removeClass( 'cookies-not-accepted' );
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
  Tested up to: 4.2.2
7
- Stable tag: 1.2.29
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
@@ -78,6 +78,9 @@ No questions yet.
78
 
79
  == Changelog ==
80
 
 
 
 
81
  = 1.2.29 =
82
  * Tweak: Add class to body element when displayed
83
  * Tweak: Italian translation update
@@ -199,6 +202,5 @@ Initial release
199
 
200
  == Upgrade Notice ==
201
 
202
- = 1.2.29 =
203
- * Tweak: Add class to body element when displayed
204
- * Tweak: Italian translation update
4
  Tags: cookie, cookies, notice, notification, notify, cookie, cookie compliance, cookie law, eu cookie, privacy, privacy directive, consent, Bootstrap
5
  Requires at least: 3.3
6
  Tested up to: 4.2.2
7
+ Stable tag: 1.2.30
8
  License: MIT License
9
  License URI: http://opensource.org/licenses/MIT
10
 
78
 
79
  == Changelog ==
80
 
81
+ = 1.2.30 =
82
+ * Fix: jQuery error after accepting cookies
83
+
84
  = 1.2.29 =
85
  * Tweak: Add class to body element when displayed
86
  * Tweak: Italian translation update
202
 
203
  == Upgrade Notice ==
204
 
205
+ = 1.2.30 =
206
+ * Fix: jQuery error after accepting cookies