Schema - Version 1.7.7

Version Description

  • Fix: Taxonomy json output on WooCommerce product category.
  • Fix: Generate image object instead of image url in Organization logo markup.
  • Enhancement: Added property @id for Organization type.
  • Enhancement: added function to retrieve image id by url.
  • Update: Pumped tested WordPress version to 5.2.4 release.
  • Update: Modified readme.txt file.
Download this release

Release Info

Developer hishaman
Plugin Icon 128x128 Schema
Version 1.7.7
Comparing to
See all releases

Code changes from version 1.7.6 to 1.7.7

README.md CHANGED
@@ -1,6 +1,8 @@
1
  # [Schema](http://schema.press) #
2
  ============
3
 
 
 
4
  ### Welcome to our GitHub Repository
5
 
6
  Schema is a light-weight plugin for adding schema.org structured data markup in recommended JSON-LD format automatically to WordPress sites.
@@ -67,7 +69,7 @@ Schema markup is code (semantic vocabulary) that you put on your website to help
67
 
68
  Schema plugin integrates, and play nicely with:
69
 
70
- * Yoast SEO
71
  * AMP plugin
72
  * WPRichSnippets
73
  * The SEO Framework
1
  # [Schema](http://schema.press) #
2
  ============
3
 
4
+ Version 1.7.7
5
+
6
  ### Welcome to our GitHub Repository
7
 
8
  Schema is a light-weight plugin for adding schema.org structured data markup in recommended JSON-LD format automatically to WordPress sites.
69
 
70
  Schema plugin integrates, and play nicely with:
71
 
72
+ * Yoast SEOs
73
  * AMP plugin
74
  * WPRichSnippets
75
  * The SEO Framework
includes/extensions/video-object.php CHANGED
@@ -1,5 +1,4 @@
1
  <?php
2
-
3
  /**
4
  * VideoObject extention
5
  *
1
  <?php
 
2
  /**
3
  * VideoObject extention
4
  *
includes/json/category.php CHANGED
@@ -111,7 +111,7 @@ function schema_wp_get_category_json() {
111
  $json = array
112
  (
113
  '@context' => 'http://schema.org/',
114
- '@type' => "CollectionPage",
115
  'headline' => $category_headline,
116
  'description' => strip_tags(category_description()),
117
  'url' => $category_link,
111
  $json = array
112
  (
113
  '@context' => 'http://schema.org/',
114
+ '@type' => 'CollectionPage',
115
  'headline' => $category_headline,
116
  'description' => strip_tags(category_description()),
117
  'url' => $category_link,
includes/json/knowledge-graph.php CHANGED
@@ -116,7 +116,7 @@ function schema_wp_get_knowledge_graph_json() {
116
  if ( ! empty($social) ) {
117
  $schema["sameAs"] = $social;
118
  }
119
-
120
  return apply_filters( 'schema_wp_knowledge_graph_json', $schema );
121
  }
122
 
116
  if ( ! empty($social) ) {
117
  $schema["sameAs"] = $social;
118
  }
119
+
120
  return apply_filters( 'schema_wp_knowledge_graph_json', $schema );
121
  }
122
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: hishaman, schemapress
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NGVUBT2QXN7YL
4
  Tags: schema, schema.org, rich snippets, structured data, json-ld, json, google, seo, markup, search engine, search, breadcrumbs, social, post, page, plugin, wordpress, content, article, news, search results, site name, knowledge graph, social, social profiles, keywords, meta-tags, metadata, tags, categories, optimize, ranking, search engine optimization, search engines, serp, sitelinks, google sitelinks, sitelinks search box, google sitelinks search box, semantic, structured, canonical, custom post types, post type, title, terms, media, images, thumb, featured, url, video, video markup, video object, VideoObject, video schema, audio object, AudioObject, audio schema, audio, sameAs, about, contact, amp, mobile, taxonomy
5
  Requires at least: 4.0
6
- Tested up to: 5.2.3
7
  Requires PHP: 5.4
8
- Stable tag: 1.7.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -49,6 +49,12 @@ Schema markup is code (semantic vocabulary) that you put on your website to help
49
  * [Schema Review](https://wordpress.org/plugins/schema-review/): Extend Schema functionality by adding review and rating Structured Data functionality for Editors and Authors.
50
  * [Schema Default Image](https://wordpress.org/plugins/schema-default-image/): Add ability to set a default WordPress Featured image for schema.org markup.
51
 
 
 
 
 
 
 
52
  ### Supported Google/Schema Markups
53
 
54
  * [Knowledge Graph](https://developers.google.com/structured-data/customize/overview)
@@ -91,6 +97,7 @@ Schema markup is code (semantic vocabulary) that you put on your website to help
91
  * [Blog Posting](https://schema.press/docs-premium/add-schema-org-markup-blogposting/)
92
  * [Event](https://schema.press/docs-premium/add-schema-org-event/)
93
  * [FAQPage](https://schema.press/docs-premium/add-schema-org-faq-page/)
 
94
  * [Course](https://schema.press/docs-premium/add-schema-org-course/)
95
  * [Job Posting](https://schema.org/JobPosting)
96
  * [Local Business](https://schema.press/docs-premium/add-schema-localbusiness/)
@@ -199,6 +206,14 @@ Yes, Schema plugin will detect AMP plugin and output a more complete and valid s
199
 
200
  == Changelog ==
201
 
 
 
 
 
 
 
 
 
202
  = 1.7.6 =
203
  * Fix: CSS for admin bar menu item.
204
  * Tweak: Added premium extensions to extension page.
@@ -728,6 +743,12 @@ s* Update: Move VC integration to deprecated functions.
728
 
729
  == Upgrade Notice ==
730
 
 
 
 
 
 
 
731
  = 1.7.3 =
732
  In this release, AMP and fixes and enhancements has been introduced. Please, update the plugin on your website now to get these fixes and enhancements.
733
 
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=NGVUBT2QXN7YL
4
  Tags: schema, schema.org, rich snippets, structured data, json-ld, json, google, seo, markup, search engine, search, breadcrumbs, social, post, page, plugin, wordpress, content, article, news, search results, site name, knowledge graph, social, social profiles, keywords, meta-tags, metadata, tags, categories, optimize, ranking, search engine optimization, search engines, serp, sitelinks, google sitelinks, sitelinks search box, google sitelinks search box, semantic, structured, canonical, custom post types, post type, title, terms, media, images, thumb, featured, url, video, video markup, video object, VideoObject, video schema, audio object, AudioObject, audio schema, audio, sameAs, about, contact, amp, mobile, taxonomy
5
  Requires at least: 4.0
6
+ Tested up to: 5.2.4
7
  Requires PHP: 5.4
8
+ Stable tag: 1.7.7
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
49
  * [Schema Review](https://wordpress.org/plugins/schema-review/): Extend Schema functionality by adding review and rating Structured Data functionality for Editors and Authors.
50
  * [Schema Default Image](https://wordpress.org/plugins/schema-default-image/): Add ability to set a default WordPress Featured image for schema.org markup.
51
 
52
+ ### Premium Plugin Extensions
53
+
54
+ * [Schema for WooCommerce](https://schema.press/downloads/schema-woocommerce/): Integration for the WooCommerce plugin.
55
+ * [Schema FAQ Block](https://schema.press/downloads/schema-faq-block/): Add FAQ Block.
56
+ * [Schema How-To Block](https://schema.press/downloads/schema-rating/): Allow site visitors to submit rating on front-end.
57
+
58
  ### Supported Google/Schema Markups
59
 
60
  * [Knowledge Graph](https://developers.google.com/structured-data/customize/overview)
97
  * [Blog Posting](https://schema.press/docs-premium/add-schema-org-markup-blogposting/)
98
  * [Event](https://schema.press/docs-premium/add-schema-org-event/)
99
  * [FAQPage](https://schema.press/docs-premium/add-schema-org-faq-page/)
100
+ * [HowTo](https://schema.press/docs-premium/add-schema-org-howto/)
101
  * [Course](https://schema.press/docs-premium/add-schema-org-course/)
102
  * [Job Posting](https://schema.org/JobPosting)
103
  * [Local Business](https://schema.press/docs-premium/add-schema-localbusiness/)
206
 
207
  == Changelog ==
208
 
209
+ = 1.7.7 =
210
+ * Fix: Taxonomy json output on WooCommerce product category.
211
+ * Fix: Generate image object instead of image url in Organization logo markup.
212
+ * Enhancement: Added property @id for Organization type.
213
+ * Enhancement: added function to retrieve image id by url.
214
+ * Update: Pumped tested WordPress version to 5.2.4 release.
215
+ * Update: Modified readme.txt file.
216
+
217
  = 1.7.6 =
218
  * Fix: CSS for admin bar menu item.
219
  * Tweak: Added premium extensions to extension page.
743
 
744
  == Upgrade Notice ==
745
 
746
+ = 1.7.7 =
747
+ In this release, schema.org HowTo has been introduced, plus fixes. Please, update the plugin on your website now to get these fixes and enhancements.
748
+
749
+ = 1.7.6 =
750
+ In this release, schema.org FAQPage has been introduced, plus fixes. Please, update the plugin on your website now to get these fixes and enhancements.
751
+
752
  = 1.7.3 =
753
  In this release, AMP and fixes and enhancements has been introduced. Please, update the plugin on your website now to get these fixes and enhancements.
754
 
schema.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: The next generation of Structured Data.
6
  * Author: Hesham
7
  * Author URI: http://zebida.com
8
- * Version: 1.7.6
9
  * Text Domain: schema-wp
10
  * Domain Path: languages
11
  *
@@ -50,7 +50,7 @@ final class Schema_WP {
50
  *
51
  * @since 1.0
52
  */
53
- private $version = '1.7.6';
54
 
55
  /**
56
  * The settings instance variable
5
  * Description: The next generation of Structured Data.
6
  * Author: Hesham
7
  * Author URI: http://zebida.com
8
+ * Version: 1.7.7
9
  * Text Domain: schema-wp
10
  * Domain Path: languages
11
  *
50
  *
51
  * @since 1.0
52
  */
53
+ private $version = '1.7.7';
54
 
55
  /**
56
  * The settings instance variable