Auto Terms of Service and Privacy Policy - Version 2.3.0

Version Description

Download this release

Release Info

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

Code changes from version 2.2.9 to 2.3.0

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.9
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,10 @@ Installing the plugin is easy. Just follow these steps:
119
 
120
  == Changelog ==
121
 
 
 
 
 
122
  = Version 2.2.9 =
123
  * Nov 25, 2019
124
  * Fix: Fixed the E_ERROR type error
4
  Requires at least: 4.2
5
  Tested up to: 5.3
6
  Requires PHP: 5.3
7
+ Stable tag: 2.3.0
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.3.0 =
123
+ * Nov 27, 2019
124
+ * Fix: Fixed the E_ERROR type error
125
+
126
  = Version 2.2.9 =
127
  * Nov 25, 2019
128
  * Fix: Fixed the E_ERROR type error
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.9
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.3.0
9
  License: GPLv2 or later
10
  Text Domain: wpautoterms
11
  Domain Path: /languages
includes/cpt/cpt.php CHANGED
@@ -191,6 +191,9 @@ abstract class CPT {
191
  if ( is_category() && $query->is_archive() ) {
192
  if ( isset( $query->query_vars['post_type'] ) ) {
193
  $pt = $query->query_vars['post_type'];
 
 
 
194
  } else {
195
  $pt = array(
196
  'post'
191
  if ( is_category() && $query->is_archive() ) {
192
  if ( isset( $query->query_vars['post_type'] ) ) {
193
  $pt = $query->query_vars['post_type'];
194
+ if ( ! is_array( $pt ) ) {
195
+ $pt = array( $pt );
196
+ }
197
  } else {
198
  $pt = array(
199
  'post'