WP SEO Structured Data Schema - Version 2.6.14

Version Description

  • Fix video embed URL issue

=

Download this release

Release Info

Developer kcseopro
Plugin Icon 128x128 WP SEO Structured Data Schema
Version 2.6.14
Comparing to
See all releases

Code changes from version 2.6.13 to 2.6.14

README.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: kcseopro
3
  Donate link:
4
  Tags: seo, schema, structured data, rich snippets, microdata, json-ld, search engine optimization, local seo, google, sitelinks, schema.org, microformat, serp
5
  Requires at least: 4.5
6
- Tested up to: 5.4
7
- Stable tag: 2.6.13
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -114,6 +114,9 @@ You'll find the [FAQ on WPSEMPlugins.com](https://wpsemplugins.com/wordpress-seo
114
 
115
  == Changelog ==
116
 
 
 
 
117
  == 2.6.13 =
118
  * New schema ( COVID 19 )
119
 
3
  Donate link:
4
  Tags: seo, schema, structured data, rich snippets, microdata, json-ld, search engine optimization, local seo, google, sitelinks, schema.org, microformat, serp
5
  Requires at least: 4.5
6
+ Tested up to: 5.5
7
+ Stable tag: 2.6.14
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
114
 
115
  == Changelog ==
116
 
117
+ == 2.6.14 =
118
+ * Fix video embed URL issue
119
+
120
  == 2.6.13 =
121
  * New schema ( COVID 19 )
122
 
lib/models/KcSeoSchemaModel.php CHANGED
@@ -380,11 +380,7 @@ if (!class_exists('KcSeoSchemaModel')):
380
  $video["name"] = $KcSeoWPSchema->sanitizeOutPut($metaData['name']);
381
  }
382
  if (!empty($metaData['description'])) {
383
- $video["description"] = $KcSeoWPSchema->sanitizeOutPut($metaData['description'],
384
- 'textarea');
385
- }
386
- if (!empty($metaData['description'])) {
387
- $video["description"] = $KcSeoWPSchema->sanitizeOutPut($metaData['description']);
388
  }
389
  if (!empty($metaData['thumbnailUrl'])) {
390
  $video["thumbnailUrl"] = $KcSeoWPSchema->sanitizeOutPut($metaData['thumbnailUrl'], 'url');
@@ -398,6 +394,9 @@ if (!class_exists('KcSeoSchemaModel')):
398
  if (!empty($metaData['contentUrl'])) {
399
  $video["contentUrl"] = $KcSeoWPSchema->sanitizeOutPut($metaData['contentUrl'], 'url');
400
  }
 
 
 
401
  if (!empty($metaData['interactionCount'])) {
402
  $video["interactionCount"] = $KcSeoWPSchema->sanitizeOutPut($metaData['interactionCount']);
403
  }
380
  $video["name"] = $KcSeoWPSchema->sanitizeOutPut($metaData['name']);
381
  }
382
  if (!empty($metaData['description'])) {
383
+ $video["description"] = $KcSeoWPSchema->sanitizeOutPut($metaData['description'], 'textarea');
 
 
 
 
384
  }
385
  if (!empty($metaData['thumbnailUrl'])) {
386
  $video["thumbnailUrl"] = $KcSeoWPSchema->sanitizeOutPut($metaData['thumbnailUrl'], 'url');
394
  if (!empty($metaData['contentUrl'])) {
395
  $video["contentUrl"] = $KcSeoWPSchema->sanitizeOutPut($metaData['contentUrl'], 'url');
396
  }
397
+ if (!empty($metaData['embedUrl'])) {
398
+ $video["embedUrl"] = $KcSeoWPSchema->sanitizeOutPut($metaData['embedUrl'], 'url');
399
+ }
400
  if (!empty($metaData['interactionCount'])) {
401
  $video["interactionCount"] = $KcSeoWPSchema->sanitizeOutPut($metaData['interactionCount']);
402
  }
wp-seo-structured-data-schema.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP SEO Structured Data Schema
4
  * Plugin URI: https://wpsemplugins.com/
5
  * Description: Comprehensive JSON-LD based Structured Data solution for WordPress for adding schema for organizations, businesses, blog posts, ratings & more.
6
- * Version: 2.6.13
7
  * Author: WPSEMPlugins
8
  * Author URI: https://wpsemplugins.com/
9
  * Text Domain: wp-seo-structured-data-schema
3
  * Plugin Name: WP SEO Structured Data Schema
4
  * Plugin URI: https://wpsemplugins.com/
5
  * Description: Comprehensive JSON-LD based Structured Data solution for WordPress for adding schema for organizations, businesses, blog posts, ratings & more.
6
+ * Version: 2.6.14
7
  * Author: WPSEMPlugins
8
  * Author URI: https://wpsemplugins.com/
9
  * Text Domain: wp-seo-structured-data-schema