Skip to content

Commit 9847c73

Browse files
committed
1 parent 36781fc commit 9847c73

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

output/service.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1650,10 +1650,10 @@ public function saswp_get_fetaure_image(){
16501650

16511651
if(isset($sd_data['sd_default_image']['url']) && $sd_data['sd_default_image']['url'] !=''){
16521652

1653-
$input2['image']['@type'] = 'ImageObject';
1654-
$input2['image']['url'] = esc_url($sd_data['sd_default_image']['url']);
1655-
$input2['image']['width'] = esc_attr($sd_data['sd_default_image_width']);
1656-
$input2['image']['height'] = esc_attr($sd_data['sd_default_image_height']);
1653+
$input2['image']['@type'] = 'ImageObject';
1654+
$input2['image']['url'] = esc_url($sd_data['sd_default_image']['url']);
1655+
$input2['image']['width'] = esc_attr($sd_data['sd_default_image_width']);
1656+
$input2['image']['height'] = esc_attr($sd_data['sd_default_image_height']);
16571657

16581658
}
16591659

readme.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: magazine3
33
Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
44
Requires at least: 3.0
55
Tested up to: 5.1
6-
Stable tag: 1.4
6+
Stable tag: 1.5
77
License: GPLv2 or later
88
License URI: http://www.gnu.org/licenses/gpl-2.0.html
99

@@ -66,7 +66,16 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
6666
== Changelog ==
6767

6868

69-
= 1.4 (25 March 2019) =
69+
= 1.5 (27 March 2019) =
70+
71+
* Bug Fixed: Warning - Missing "review" field in product schema for WooCommerce product page. #179
72+
* Bug Fixed: Modify schema output with custom filters #178
73+
* Bug Fixed: https://schema.org/Publisher should be https://schema.org/publisher #175
74+
* Bug Fixed: In AMP schema markup featured image should be 4x3,16x9,1x1 #173
75+
* Bug Fixed: Warning - number_format() expects parameter 1 to be float, string given in #172
76+
* Bug Fixed: Set-Up wizard is not working when Polylang plugin is activated #170
77+
78+
= 1.4 (26 March 2019) =
7079

7180
* Bug Fixed: Security improvement.
7281

structured-data-for-wp.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
/*
33
Plugin Name: Schema & Structured Data for WP
44
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.4
5+
Version: 1.5
66
Text Domain: schema-and-structured-data-for-wp
77
Domain Path: /languages
88
Author: Magazine3
@@ -13,7 +13,7 @@
1313
// Exit if accessed directly.
1414
if ( ! defined( 'ABSPATH' ) ) exit;
1515

16-
define('SASWP_VERSION', '1.4');
16+
define('SASWP_VERSION', '1.5');
1717
define('SASWP_DIR_NAME_FILE', __FILE__ );
1818
define('SASWP_DIR_NAME', dirname( __FILE__ ));
1919
define('SASWP_DIR_URI', plugin_dir_url(__FILE__));

0 commit comments

Comments
 (0)