Auto Terms of Service and Privacy Policy - Version 2.2.9

Version Description

Download this release

Release Info

Developer wpautoterms
Plugin Icon Auto Terms of Service and Privacy Policy
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

README.txt CHANGED
@@ -4,7 +4,7 @@ Tags: gdpr, privacy policy, terms and conditions, cookie consent, terms of servi
4
  Requires at least: 4.2
5
  Tested up to: 5.3
6
  Requires PHP: 5.3
7
- Stable tag: 2.2.8
8
  License: GPL version 3 or any later version
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -119,6 +119,12 @@ Installing the plugin is easy. Just follow these steps:
119
 
120
  == Changelog ==
121
 
 
 
 
 
 
 
122
  = Version 2.2.8 =
123
  * Nov 10, 2019
124
  * Fix: Fixed use case when GDPR Privacy Policy couldn't be created
4
  Requires at least: 4.2
5
  Tested up to: 5.3
6
  Requires PHP: 5.3
7
+ Stable tag: 2.2.9
8
  License: GPL version 3 or any later version
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
119
 
120
  == Changelog ==
121
 
122
+ = Version 2.2.9 =
123
+ * Nov 25, 2019
124
+ * Fix: Fixed the E_ERROR type error
125
+ * Fix: Remove the "Caching Plugins Detect" banner appearing incorrectly
126
+ * Fix: "Revert to default message" functionality for the Updates Notices Compliance Kit
127
+
128
  = Version 2.2.8 =
129
  * Nov 10, 2019
130
  * Fix: Fixed use case when GDPR Privacy Policy couldn't be created
auto-terms-of-service-privacy-policy.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: https://wpautoterms.com
5
  Description: Create Privacy Policy, GDPR Privacy Policy, Terms & Conditions, Disclaimers. Cookie Consent Banner. More Compliance Kits to help you get compliant with the law.
6
  Author: WP AutoTerms
7
  Author URI: https://wpautoterms.com
8
- Version: 2.2.8
9
  License: GPLv2 or later
10
  Text Domain: wpautoterms
11
  Domain Path: /languages
5
  Description: Create Privacy Policy, GDPR Privacy Policy, Terms & Conditions, Disclaimers. Cookie Consent Banner. More Compliance Kits to help you get compliant with the law.
6
  Author: WP AutoTerms
7
  Author URI: https://wpautoterms.com
8
+ Version: 2.2.9
9
  License: GPLv2 or later
10
  Text Domain: wpautoterms
11
  Domain Path: /languages
includes/box/update-notice-box.php CHANGED
@@ -148,7 +148,7 @@ class Update_Notice_Box extends Box {
148
  $this->id() . '_disable_logged' => 'yes',
149
  $this->id() . '_duration' => '3',
150
  $this->id() . '_message' => __( 'Our <a href="[wpautoterms page_link]">[wpautoterms page_title]</a> has been updated on [wpautoterms last_updated_date].', WPAUTOTERMS_SLUG ),
151
- $this->id() . '_message_multiple' => __( 'Our <a href="[wpautoterms page_links]">[wpautoterms page_titles]</a> have been updated on [wpautoterms last_updated_date].', WPAUTOTERMS_SLUG ),
152
  $this->id() . '_close_message' => __( 'Close', WPAUTOTERMS_SLUG ),
153
  $this->id() . '_bg_color' => '',
154
  $this->id() . '_font' => '',
148
  $this->id() . '_disable_logged' => 'yes',
149
  $this->id() . '_duration' => '3',
150
  $this->id() . '_message' => __( 'Our <a href="[wpautoterms page_link]">[wpautoterms page_title]</a> has been updated on [wpautoterms last_updated_date].', WPAUTOTERMS_SLUG ),
151
+ $this->id() . '_message_multiple' => __( 'Our [wpautoterms page_links] have been updated on [wpautoterms last_updated_date].', WPAUTOTERMS_SLUG ),
152
  $this->id() . '_close_message' => __( 'Close', WPAUTOTERMS_SLUG ),
153
  $this->id() . '_bg_color' => '',
154
  $this->id() . '_font' => '',
includes/frontend.php CHANGED
@@ -67,12 +67,12 @@ abstract class Frontend {
67
  if ( $passed > $total * static::OB_PASSED_LIMIT ) {
68
  Options::set_option( Options::CACHE_PLUGINS_DETECTION, false );
69
  Options::set_option( Options::CACHE_PLUGINS_DETECTED, true );
70
- Notices::$instance->add(
71
- __( 'Cache plugins detected. Please review ' .
72
- '<a href="' . admin_url( 'edit.php?post_type=' . CPT::type() . '&page=' . WPAUTOTERMS_SLUG .
73
- '_' . Menu::PAGE_SETTINGS_ADVANCED ) .
74
- '">WPAutoTerms settings</a> and enable the Caching Plugins compatibility mode.',
75
- WPAUTOTERMS_SLUG ), Notices::CLASS_ERROR, true, static::CACHE_PLUGIN_NOTICE_ID );
76
  }
77
  } elseif ( static::_is_html_content() ) {
78
  Options::set_option( Options::OB_TOTAL, $total + 1 );
67
  if ( $passed > $total * static::OB_PASSED_LIMIT ) {
68
  Options::set_option( Options::CACHE_PLUGINS_DETECTION, false );
69
  Options::set_option( Options::CACHE_PLUGINS_DETECTED, true );
70
+ // Notices::$instance->add(
71
+ // __( 'Cache plugins detected. Please review ' .
72
+ // '<a href="' . admin_url( 'edit.php?post_type=' . CPT::type() . '&page=' . WPAUTOTERMS_SLUG .
73
+ // '_' . Menu::PAGE_SETTINGS_ADVANCED ) .
74
+ // '">WPAutoTerms settings</a> and enable the Caching Plugins compatibility mode.',
75
+ // WPAUTOTERMS_SLUG ), Notices::CLASS_ERROR, true, static::CACHE_PLUGIN_NOTICE_ID );
76
  }
77
  } elseif ( static::_is_html_content() ) {
78
  Options::set_option( Options::OB_TOTAL, $total + 1 );