Schema & Structured Data for WP & AMP - Version 1.3.1

Version Description

(12 March 2019) =

  • Bug Fixed: Organization schema type has null value
Download this release

Release Info

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

Code changes from version 1.3 to 1.3.1

Files changed (3) hide show
  1. output/output.php +1 -1
  2. readme.txt +8 -2
  3. structured-data-for-wp.php +3 -3
output/output.php CHANGED
@@ -112,7 +112,7 @@ function saswp_kb_schema_output() {
112
 
113
  $input = array(
114
  '@context' =>'http://schema.org',
115
- '@type' => $sd_data['saswp_organization_type'],
116
  'name' => saswp_remove_warnings($sd_data, 'sd_name', 'saswp_string'),
117
  'url' => saswp_remove_warnings($sd_data, 'sd_url', 'saswp_string'),
118
  'sameAs' => $platform,
112
 
113
  $input = array(
114
  '@context' =>'http://schema.org',
115
+ '@type' => isset($sd_data['saswp_organization_type'])? $sd_data['saswp_organization_type']:'Organization',
116
  'name' => saswp_remove_warnings($sd_data, 'sd_name', 'saswp_string'),
117
  'url' => saswp_remove_warnings($sd_data, 'sd_url', 'saswp_string'),
118
  'sameAs' => $platform,
readme.txt CHANGED
@@ -1,9 +1,9 @@
1
  === Schema & Structured Data for WP & AMP ===
2
- Contributors: mohammed_kaludi, ahmedkaludi, ampforwp
3
  Tags: Schema, Structured Data, Google Snippets, Rich Snippets, Schema.org, SEO, AMP
4
  Requires at least: 3.0
5
  Tested up to: 5.1
6
- Stable tag: 1.3
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -66,6 +66,12 @@ You can contact us from [here](http://structured-data-for-wp.com/contact-us/)
66
  == Changelog ==
67
 
68
 
 
 
 
 
 
 
69
  = 1.3 (11 March 2019) =
70
 
71
  * Added: Event schema type added to the schema type list #157
1
  === Schema & Structured Data for WP & AMP ===
2
+ 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.1
6
+ Stable tag: 1.3.1
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
66
  == Changelog ==
67
 
68
 
69
+ = 1.3.1 (12 March 2019) =
70
+
71
+
72
+ * Bug Fixed: Organization schema type has null value
73
+
74
+
75
  = 1.3 (11 March 2019) =
76
 
77
  * Added: Event schema type added to the schema type list #157
structured-data-for-wp.php CHANGED
@@ -2,10 +2,10 @@
2
  /*
3
  Plugin Name: Schema & Structured Data for WP
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.3
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
- Author: Mohammed Kaludi, Ahmed Kaludi
9
  Author URI: http://structured-data-for-wp.com/
10
  Donate link: https://www.paypal.me/Kaludi/25
11
  License: GPL2
@@ -13,7 +13,7 @@ License: GPL2
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
- define('SASWP_VERSION', '1.3');
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
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.3.1
6
  Text Domain: schema-and-structured-data-for-wp
7
  Domain Path: /languages
8
+ Author: Magazine3
9
  Author URI: http://structured-data-for-wp.com/
10
  Donate link: https://www.paypal.me/Kaludi/25
11
  License: GPL2
13
  // Exit if accessed directly.
14
  if ( ! defined( 'ABSPATH' ) ) exit;
15
 
16
+ define('SASWP_VERSION', '1.3.1');
17
  define('SASWP_DIR_NAME_FILE', __FILE__ );
18
  define('SASWP_DIR_NAME', dirname( __FILE__ ));
19
  define('SASWP_DIR_URI', plugin_dir_url(__FILE__));