Schema & Structured Data for WP & AMP - Version 1.9.63.1

Version Description

(17 Feb 2021) =

  • Fixed: Fatal error: Uncaught ArgumentCountError: Too few arguments to function saswp_reviews_service::saswp_review_desing_for_slider() #1323
  • Fixed: Remove extra slash from potentialAction property of website schema #1321
Download this release

Release Info

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

Code changes from version 1.9.63 to 1.9.63.1

modules/reviews/reviews_service.php CHANGED
@@ -864,7 +864,7 @@ class saswp_reviews_service {
864
 
865
  }
866
 
867
- public function saswp_review_desing_for_slider($value, $date_format){
868
 
869
  $review_link = $value['saswp_review_link'];
870
 
@@ -956,7 +956,7 @@ class saswp_reviews_service {
956
 
957
  foreach($coll as $value){
958
 
959
- $html .= $this->saswp_review_desing_for_slider($value);
960
 
961
  }
962
 
@@ -1005,7 +1005,7 @@ class saswp_reviews_service {
1005
  foreach ($collection as $value){
1006
 
1007
  $html .= '<li>';
1008
- $html .= $this->saswp_review_desing_for_slider($value);
1009
  $html .= '</li>';
1010
 
1011
  if($i == 0){
864
 
865
  }
866
 
867
+ public function saswp_review_desing_for_slider($value, $date_format = ''){
868
 
869
  $review_link = $value['saswp_review_link'];
870
 
956
 
957
  foreach($coll as $value){
958
 
959
+ $html .= $this->saswp_review_desing_for_slider($value, $date_format);
960
 
961
  }
962
 
1005
  foreach ($collection as $value){
1006
 
1007
  $html .= '<li>';
1008
+ $html .= $this->saswp_review_desing_for_slider($value, $date_format);
1009
  $html .= '</li>';
1010
 
1011
  if($i == 0){
output/output.php CHANGED
@@ -2228,7 +2228,7 @@ function saswp_kb_website_output(){
2228
  if(isset($sd_data['saswp_search_box_schema']) && $sd_data['saswp_search_box_schema'] == 1 || !isset($sd_data['saswp_search_box_schema'])){
2229
 
2230
  $input['potentialAction']['@type'] = 'SearchAction';
2231
- $input['potentialAction']['target'] = esc_url($site_url).'/?s={search_term_string}';
2232
  $input['potentialAction']['query-input'] = 'required name=search_term_string';
2233
 
2234
  }
2228
  if(isset($sd_data['saswp_search_box_schema']) && $sd_data['saswp_search_box_schema'] == 1 || !isset($sd_data['saswp_search_box_schema'])){
2229
 
2230
  $input['potentialAction']['@type'] = 'SearchAction';
2231
+ $input['potentialAction']['target'] = esc_url(trailingslashit($site_url)).'?s={search_term_string}';
2232
  $input['potentialAction']['query-input'] = 'required name=search_term_string';
2233
 
2234
  }
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.6
6
- Stable tag: 1.9.63
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -120,6 +120,11 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
120
 
121
  == Changelog ==
122
 
 
 
 
 
 
123
  = 1.9.63 (16 Feb 2021) =
124
 
125
  * Fixed: Filling up error log with PHP errors #1319
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.6
6
+ Stable tag: 1.9.63.1
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.63.1 (17 Feb 2021) =
124
+
125
+ * Fixed: Fatal error: Uncaught ArgumentCountError: Too few arguments to function saswp_reviews_service::saswp_review_desing_for_slider() #1323
126
+ * Fixed: Remove extra slash from potentialAction property of website schema #1321
127
+
128
  = 1.9.63 (16 Feb 2021) =
129
 
130
  * Fixed: Filling up error log with PHP errors #1319
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.63
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.63');
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.63.1
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.63.1');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));