Schema & Structured Data for WP & AMP - Version 1.9.93

Version Description

(10 Jan 2022) =

  • Fixed: Showing Fatal Error when activate jetpack #1589
  • Fixed: Causing Undefined index error #1586
Download this release

Release Info

Developer magazine3
Plugin Icon 128x128 Schema & Structured Data for WP & AMP
Version 1.9.93
Comparing to
See all releases

Code changes from version 1.9.92 to 1.9.93

output/compatibility.php CHANGED
@@ -629,6 +629,9 @@ class saswp_output_compatibility{
629
  public function wpjobmanager_on_activation(){
630
  $this->saswp_update_option_on_compatibility_activation('saswp-wpjobmanager');
631
  }
 
 
 
632
  public function wpjobopenings_on_activation(){
633
  $this->saswp_update_option_on_compatibility_activation('saswp-wpjobopenings');
634
  }
629
  public function wpjobmanager_on_activation(){
630
  $this->saswp_update_option_on_compatibility_activation('saswp-wpjobmanager');
631
  }
632
+ public function jetpackrecipe_on_activation(){
633
+ $this->saswp_update_option_on_compatibility_activation('saswp-jetpackrecipe');
634
+ }
635
  public function wpjobopenings_on_activation(){
636
  $this->saswp_update_option_on_compatibility_activation('saswp-wpjobopenings');
637
  }
output/markup.php CHANGED
@@ -148,7 +148,7 @@ function saswp_book_schema_markup($schema_id, $schema_post_id, $all_post_meta){
148
  $input1['offers']['priceCurrency'] = $all_post_meta['saswp_book_price_currency_'.$schema_id];
149
  }
150
 
151
- if(saswp_isset($all_post_meta['saswp_book_enable_rating_'.$schema_id][0]) && saswp_isset($all_post_meta['saswp_book_rating_value_'.$schema_id][0]) && saswp_isset($all_post_meta['saswp_book_rating_count_'.$schema_id][0])){
152
  $input1['aggregateRating']['@type'] = 'aggregateRating';
153
  $input1['aggregateRating']['ratingValue'] = $all_post_meta['saswp_book_rating_value_'.$schema_id][0];
154
  $input1['aggregateRating']['ratingCount'] = $all_post_meta['saswp_book_rating_count_'.$schema_id][0];
148
  $input1['offers']['priceCurrency'] = $all_post_meta['saswp_book_price_currency_'.$schema_id];
149
  }
150
 
151
+ if(isset($all_post_meta['saswp_book_enable_rating_'.$schema_id]) && isset($all_post_meta['saswp_book_rating_value_'.$schema_id]) && isset($all_post_meta['saswp_book_rating_count_'.$schema_id])){
152
  $input1['aggregateRating']['@type'] = 'aggregateRating';
153
  $input1['aggregateRating']['ratingValue'] = $all_post_meta['saswp_book_rating_value_'.$schema_id][0];
154
  $input1['aggregateRating']['ratingCount'] = $all_post_meta['saswp_book_rating_count_'.$schema_id][0];
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: magazine3
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.8
6
- Stable tag: 1.9.92
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -120,6 +120,12 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
 
123
  = 1.9.92 (15 Dec 2021) =
124
 
125
  * Added: Combine product reviews and reviews added from collection and show in rich results. #1584
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.8
6
+ Stable tag: 1.9.93
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
120
 
121
  == Changelog ==
122
 
123
+ = 1.9.93 (10 Jan 2022) =
124
+
125
+ * Fixed: Showing Fatal Error when activate jetpack #1589
126
+ * Fixed: Causing Undefined index error #1586
127
+
128
+
129
  = 1.9.92 (15 Dec 2021) =
130
 
131
  * Added: Combine product reviews and reviews added from collection and show in rich results. #1584
structured-data-for-wp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Schema & Structured Data for WP & AMP
4
  Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
5
- Version: 1.9.92
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
  Author: Magazine3
@@ -13,7 +13,7 @@ License: GPL2
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
- define('SASWP_VERSION', '1.9.92');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));
2
  /*
3
  Plugin Name: Schema & Structured Data for WP & AMP
4
  Description: Schema & Structured Data adds Google Rich Snippets markup according to Schema.org guidelines to structure your site for SEO. (AMP Compatible)
5
+ Version: 1.9.93
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
  Author: Magazine3
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
+ define('SASWP_VERSION', '1.9.93');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));