SEOPress - Version 1.2.1

Version Description

  • FIX Fatal error for WooCommerce cart, checkout, my account pages
Download this release

Release Info

Developer rainbowgeek
Plugin Icon 128x128 SEOPress
Version 1.2.1
Comparing to
See all releases

Code changes from version 1.2 to 1.2.1

inc/functions/options-titles-metas.php CHANGED
@@ -617,13 +617,13 @@ if (get_option('blog_public') =='1') {
617
  return seopress_titles_archives_author_noindex_option();
618
  } elseif (is_date() && seopress_titles_archives_date_noindex_option()) { //IS Date archive
619
  return seopress_titles_archives_date_noindex_option();
620
- } elseif (function_exists('is_cart') && (is_cart() && seopress_woocommerce_cart_page_no_index_option())) { //IS WooCommerce Cart page
621
  return seopress_woocommerce_cart_page_no_index_option();
622
- } elseif (function_exists('is_checkout') && (is_checkout() && seopress_woocommerce_checkout_page_no_index_option())) { //IS WooCommerce Checkout page
623
  return seopress_woocommerce_checkout_page_no_index_option();
624
- } elseif (function_exists('is_account_page') && (is_account_page() && seopress_woocommerce_customer_account_page_no_index_option())) { //IS WooCommerce Customer account pages
625
  return seopress_woocommerce_customer_account_page_no_index_option();
626
- } elseif (function_exists('is_wc_endpoint_url') && (is_wc_endpoint_url() && seopress_woocommerce_customer_account_page_no_index_option())) { //IS WooCommerce Customer account pages
627
  return seopress_woocommerce_customer_account_page_no_index_option();
628
  } elseif(is_404()) { //Is 404 page
629
  return "noindex";
617
  return seopress_titles_archives_author_noindex_option();
618
  } elseif (is_date() && seopress_titles_archives_date_noindex_option()) { //IS Date archive
619
  return seopress_titles_archives_date_noindex_option();
620
+ } elseif (function_exists('is_cart') && function_exists('seopress_woocommerce_cart_page_no_index_option') && (is_cart() && seopress_woocommerce_cart_page_no_index_option())) { //IS WooCommerce Cart page
621
  return seopress_woocommerce_cart_page_no_index_option();
622
+ } elseif (function_exists('is_checkout') && function_exists('seopress_woocommerce_checkout_page_no_index_option') && (is_checkout() && seopress_woocommerce_checkout_page_no_index_option())) { //IS WooCommerce Checkout page
623
  return seopress_woocommerce_checkout_page_no_index_option();
624
+ } elseif (function_exists('is_account_page') && function_exists('seopress_woocommerce_customer_account_page_no_index_option') && (is_account_page() && seopress_woocommerce_customer_account_page_no_index_option())) { //IS WooCommerce Customer account pages
625
  return seopress_woocommerce_customer_account_page_no_index_option();
626
+ } elseif (function_exists('is_wc_endpoint_url') && function_exists('seopress_woocommerce_customer_account_page_no_index_option') && (is_wc_endpoint_url() && seopress_woocommerce_customer_account_page_no_index_option())) { //IS WooCommerce Customer account pages
627
  return seopress_woocommerce_customer_account_page_no_index_option();
628
  } elseif(is_404()) { //Is 404 page
629
  return "noindex";
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://seopress.org/
4
  Tags: seo, search engine optimization, meta, title, description, keywords, serp, knowledge grah, schema.org, url, redirection, 301, xml sitemap, breadcrumbs, ranking, google analytics, woocommerce
5
  Requires at least: 4.4+
6
  Tested up to: 4.7
7
- Stable tag: 1.2
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -102,6 +102,8 @@ SEOPress is a powerful plugin to optimize your SEO, boost your traffic and impro
102
  30. Structured Data Types metaboxe in post, page, custom post type
103
 
104
  == Changelog ==
 
 
105
  = 1.2 =
106
  * NEW Add Dublin Core meta tags (SEOPress PRO only)
107
  * NEW Add Structured Data Types for Articles, Courses, Videos, Recipes, Events and Products (SEOPress PRO only)
4
  Tags: seo, search engine optimization, meta, title, description, keywords, serp, knowledge grah, schema.org, url, redirection, 301, xml sitemap, breadcrumbs, ranking, google analytics, woocommerce
5
  Requires at least: 4.4+
6
  Tested up to: 4.7
7
+ Stable tag: 1.2.1
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
102
  30. Structured Data Types metaboxe in post, page, custom post type
103
 
104
  == Changelog ==
105
+ = 1.2.1 =
106
+ * FIX Fatal error for WooCommerce cart, checkout, my account pages
107
  = 1.2 =
108
  * NEW Add Dublin Core meta tags (SEOPress PRO only)
109
  * NEW Add Structured Data Types for Articles, Courses, Videos, Recipes, Events and Products (SEOPress PRO only)
seopress.php CHANGED
@@ -4,7 +4,7 @@
4
  Plugin Name: SEOPress
5
  Plugin URI: http://seopress.org/
6
  Description: The best SEO plugin.
7
- Version: 1.2
8
  Author: Benjamin DENIS
9
  Author URI: http://seopress.org/
10
  License: GPLv2
@@ -79,7 +79,7 @@ register_deactivation_hook(__FILE__, 'seopress_deactivation');
79
  //Define
80
  ///////////////////////////////////////////////////////////////////////////////////////////////////
81
 
82
- define( 'SEOPRESS_VERSION', '1.2' );
83
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
84
 
85
  ///////////////////////////////////////////////////////////////////////////////////////////////////
4
  Plugin Name: SEOPress
5
  Plugin URI: http://seopress.org/
6
  Description: The best SEO plugin.
7
+ Version: 1.2.1
8
  Author: Benjamin DENIS
9
  Author URI: http://seopress.org/
10
  License: GPLv2
79
  //Define
80
  ///////////////////////////////////////////////////////////////////////////////////////////////////
81
 
82
+ define( 'SEOPRESS_VERSION', '1.2.1' );
83
  define( 'SEOPRESS_AUTHOR', 'Benjamin Denis' );
84
 
85
  ///////////////////////////////////////////////////////////////////////////////////////////////////