Version Description
- Bug fixed
=
Download this release
Release Info
Developer | kcseopro |
Plugin | WP SEO Structured Data Schema |
Version | 2.5.3 |
Comparing to | |
See all releases |
Code changes from version 2.5.2 to 2.5.3
README.txt
CHANGED
@@ -1,10 +1,10 @@
|
|
1 |
=== WP SEO Structured Data Schema ===
|
2 |
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:
|
6 |
-
Tested up to:
|
7 |
-
Stable tag: 2.5.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -120,6 +120,13 @@ You'll find the [FAQ on Kcseopro.com](https://wpsemplugins.com/).
|
|
120 |
|
121 |
== Changelog ==
|
122 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
123 |
== 2.5.1 =
|
124 |
* A option for Turn off global schema
|
125 |
* Full Translation support
|
1 |
=== WP SEO Structured Data Schema ===
|
2 |
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.0
|
7 |
+
Stable tag: 2.5.3
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
120 |
|
121 |
== Changelog ==
|
122 |
|
123 |
+
== 2.5.3 =
|
124 |
+
* Bug fixed
|
125 |
+
|
126 |
+
== 2.5.2 =
|
127 |
+
* Add Some pro feature list
|
128 |
+
* Update compatibility with others plugin.
|
129 |
+
|
130 |
== 2.5.1 =
|
131 |
* A option for Turn off global schema
|
132 |
* Full Translation support
|
languages/wp-seo-structured-data-schema.pot
CHANGED
@@ -62,7 +62,7 @@ msgid "TV Episode"
|
|
62 |
msgstr ""
|
63 |
|
64 |
#: ../lib/classes/KcSeoHelper.php:204, ../lib/models/KcSeoSchemaModel.php:1479
|
65 |
-
msgid "
|
66 |
msgstr ""
|
67 |
|
68 |
#: ../lib/classes/KcSeoHelper.php:210
|
62 |
msgstr ""
|
63 |
|
64 |
#: ../lib/classes/KcSeoHelper.php:204, ../lib/models/KcSeoSchemaModel.php:1479
|
65 |
+
msgid "QAPage"
|
66 |
msgstr ""
|
67 |
|
68 |
#: ../lib/classes/KcSeoHelper.php:210
|
lib/classes/KcSeoHelper.php
CHANGED
@@ -201,7 +201,7 @@ if (!class_exists('KcSeoSettings')):
|
|
201 |
<li><?php _e("Music", "wp-seo-structured-data-schema") ?></li>
|
202 |
<li><?php _e("Recipe", "wp-seo-structured-data-schema") ?></li>
|
203 |
<li><?php _e("TV Episode", "wp-seo-structured-data-schema") ?></li>
|
204 |
-
<li><?php _e("
|
205 |
</ol>
|
206 |
</li>
|
207 |
</ol>
|
201 |
<li><?php _e("Music", "wp-seo-structured-data-schema") ?></li>
|
202 |
<li><?php _e("Recipe", "wp-seo-structured-data-schema") ?></li>
|
203 |
<li><?php _e("TV Episode", "wp-seo-structured-data-schema") ?></li>
|
204 |
+
<li><?php _e("QAPage", "wp-seo-structured-data-schema") ?></li>
|
205 |
</ol>
|
206 |
</li>
|
207 |
</ol>
|
lib/classes/KcSeoMetaData.php
CHANGED
@@ -113,10 +113,12 @@ if (!class_exists('KcSeoMetaData')):
|
|
113 |
foreach ($schemaFields as $schemaID => $schema) {
|
114 |
$schemaMetaId = $KcSeoWPSchema->KcSeoPrefix . $schemaID;
|
115 |
$data = array();
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
|
|
|
|
120 |
}
|
121 |
$meta[$schemaMetaId] = $data;
|
122 |
}
|
113 |
foreach ($schemaFields as $schemaID => $schema) {
|
114 |
$schemaMetaId = $KcSeoWPSchema->KcSeoPrefix . $schemaID;
|
115 |
$data = array();
|
116 |
+
if(!empty($schema['fields'])) {
|
117 |
+
foreach ($schema['fields'] as $fieldId => $fieldData) {
|
118 |
+
$value = (!empty($_REQUEST[$schemaMetaId][$fieldId]) ? $_REQUEST[$schemaMetaId][$fieldId] : null);
|
119 |
+
$value = $KcSeoWPSchema->sanitize($fieldData, $value);
|
120 |
+
$data[$fieldId] = $value;
|
121 |
+
}
|
122 |
}
|
123 |
$meta[$schemaMetaId] = $data;
|
124 |
}
|
lib/models/KcSeoSchemaModel.php
CHANGED
@@ -1476,7 +1476,7 @@ if (!class_exists('KcSeoSchemaModel')):
|
|
1476 |
),
|
1477 |
'question' => array(
|
1478 |
'pro' => true,
|
1479 |
-
'title' => __("
|
1480 |
),
|
1481 |
);
|
1482 |
}
|
1476 |
),
|
1477 |
'question' => array(
|
1478 |
'pro' => true,
|
1479 |
+
'title' => __("QAPage", "wp-seo-structured-data-schema"),
|
1480 |
),
|
1481 |
);
|
1482 |
}
|
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.5.
|
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.5.3
|
7 |
* Author: WPSEMPlugins
|
8 |
* Author URI: https://wpsemplugins.com/
|
9 |
* Text Domain: wp-seo-structured-data-schema
|