Version Description
- Update description issue at expoert
=
Download this release
Release Info
Developer | kcseopro |
Plugin | WP SEO Structured Data Schema |
Version | 2.6.17 |
Comparing to | |
See all releases |
Code changes from version 2.6.16 to 2.6.17
- README.txt +4 -1
- languages/wp-seo-structured-data-schema.pot +69 -65
- lib/classes/KcSeoHelper.php +282 -272
- lib/functions/KcSeoOptions.php +11 -9
- wp-seo-structured-data-schema.php +1 -1
README.txt
CHANGED
@@ -4,7 +4,7 @@ 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.7
|
7 |
-
Stable tag: 2.6.
|
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.16 =
|
118 |
* Add WordPress 5.7 compatibility
|
119 |
|
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.7
|
7 |
+
Stable tag: 2.6.17
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
114 |
|
115 |
== Changelog ==
|
116 |
|
117 |
+
== 2.6.17 =
|
118 |
+
* Update description issue at expoert
|
119 |
+
|
120 |
== 2.6.16 =
|
121 |
* Add WordPress 5.7 compatibility
|
122 |
|
languages/wp-seo-structured-data-schema.pot
CHANGED
@@ -13,63 +13,63 @@ msgstr ""
|
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
|
16 |
-
#: ../lib/classes/KcSeoHelper.php:
|
17 |
msgid "Pro Version Features"
|
18 |
msgstr ""
|
19 |
|
20 |
-
#: ../lib/classes/KcSeoHelper.php:
|
21 |
msgid "Includes Auto-fill function <---Popular"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: ../lib/classes/KcSeoHelper.php:
|
25 |
msgid "Supports Custom Post Types beyond default page and posts"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#: ../lib/classes/KcSeoHelper.php:
|
29 |
msgid "Supports WordPress Multisite"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#: ../lib/classes/KcSeoHelper.php:
|
33 |
msgid "Supports more schema types:"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#: ../lib/classes/KcSeoHelper.php:
|
37 |
msgid "Books"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#: ../lib/classes/KcSeoHelper.php:
|
41 |
msgid "Courses"
|
42 |
msgstr ""
|
43 |
|
44 |
-
#: ../lib/classes/KcSeoHelper.php:
|
45 |
msgid "Job Postings"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: ../lib/classes/KcSeoHelper.php:
|
49 |
msgid "Movies"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: ../lib/classes/KcSeoHelper.php:
|
53 |
msgid "Music"
|
54 |
msgstr ""
|
55 |
|
56 |
-
#: ../lib/classes/KcSeoHelper.php:
|
57 |
msgid "Recipe"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: ../lib/classes/KcSeoHelper.php:
|
61 |
msgid "TV Episode"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: ../lib/classes/KcSeoHelper.php:
|
65 |
msgid "QAPage"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: ../lib/classes/KcSeoHelper.php:
|
69 |
msgid "Item List"
|
70 |
msgstr ""
|
71 |
|
72 |
-
#: ../lib/classes/KcSeoHelper.php:
|
73 |
msgid "Get the Pro Version"
|
74 |
msgstr ""
|
75 |
|
@@ -145,7 +145,7 @@ msgstr ""
|
|
145 |
msgid "Published date"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: ../lib/functions/KcSeoOptions.php:44, ../lib/functions/KcSeoOptions.php:51, ../lib/functions/KcSeoOptions.php:117, ../lib/functions/KcSeoOptions.php:124, ../lib/functions/KcSeoOptions.php:186, ../lib/functions/KcSeoOptions.php:194, ../lib/functions/KcSeoOptions.php:344, ../lib/functions/KcSeoOptions.php:579, ../lib/functions/KcSeoOptions.php:701, ../lib/functions/KcSeoOptions.php:
|
149 |
msgid "Like this: 2015-12-25 14:20:00"
|
150 |
msgstr ""
|
151 |
|
@@ -169,12 +169,12 @@ msgstr ""
|
|
169 |
msgid "Logos should have a wide aspect ratio, not a square icon.<br>Logos should be no wider than 600px, and no taller than 60px.<br>Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.<br>"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: ../lib/functions/KcSeoOptions.php:66, ../lib/functions/KcSeoOptions.php:140, ../lib/functions/KcSeoOptions.php:209, ../lib/functions/KcSeoOptions.php:260, ../lib/functions/KcSeoOptions.php:385, ../lib/functions/KcSeoOptions.php:535, ../lib/functions/KcSeoOptions.php:775, ../lib/functions/KcSeoOptions.php:
|
173 |
msgid "Description"
|
174 |
msgstr ""
|
175 |
|
176 |
#: ../lib/functions/KcSeoOptions.php:68, ../lib/functions/KcSeoOptions.php:142, ../lib/functions/KcSeoOptions.php:211
|
177 |
-
msgid "Short description"
|
178 |
msgstr ""
|
179 |
|
180 |
#: ../lib/functions/KcSeoOptions.php:71, ../lib/functions/KcSeoOptions.php:145, ../lib/functions/KcSeoOptions.php:214
|
@@ -217,23 +217,23 @@ msgstr ""
|
|
217 |
msgid "News Article"
|
218 |
msgstr ""
|
219 |
|
220 |
-
#: ../lib/functions/KcSeoOptions.php:171, ../lib/functions/KcSeoOptions.php:323, ../lib/functions/KcSeoOptions.php:691, ../lib/functions/KcSeoOptions.php:
|
221 |
msgid "Author"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: ../lib/functions/KcSeoOptions.php:177, ../lib/functions/KcSeoOptions.php:380, ../lib/functions/KcSeoOptions.php:
|
225 |
msgid "Image"
|
226 |
msgstr ""
|
227 |
|
228 |
#: ../lib/functions/KcSeoOptions.php:216
|
229 |
-
msgid "Article body content"
|
230 |
msgstr ""
|
231 |
|
232 |
#: ../lib/functions/KcSeoOptions.php:222
|
233 |
msgid "Event"
|
234 |
msgstr ""
|
235 |
|
236 |
-
#: ../lib/functions/KcSeoOptions.php:228, ../lib/functions/KcSeoOptions.php:374, ../lib/functions/KcSeoOptions.php:529, ../lib/functions/KcSeoOptions.php:591, ../lib/functions/KcSeoOptions.php:
|
237 |
msgid "Name"
|
238 |
msgstr ""
|
239 |
|
@@ -274,7 +274,7 @@ msgid "Event end date Like : 2017-10-16 4:00 AM"
|
|
274 |
msgstr ""
|
275 |
|
276 |
#: ../lib/functions/KcSeoOptions.php:263
|
277 |
-
msgid "Event description"
|
278 |
msgstr ""
|
279 |
|
280 |
#: ../lib/functions/KcSeoOptions.php:266
|
@@ -317,55 +317,55 @@ msgstr ""
|
|
317 |
msgid "A link to the event's details page. <span class='required'>Not required but (Recommended)</span>"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#: ../lib/functions/KcSeoOptions.php:315, ../lib/functions/KcSeoOptions.php:662, ../lib/functions/KcSeoOptions.php:
|
321 |
msgid "Review"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#: ../lib/functions/KcSeoOptions.php:317, ../lib/functions/KcSeoOptions.php:
|
325 |
msgid "To add review schema for this type, complete fields below and enable, others live blank."
|
326 |
msgstr ""
|
327 |
|
328 |
-
#: ../lib/functions/KcSeoOptions.php:328, ../lib/functions/KcSeoOptions.php:
|
329 |
msgid "Author Same As profile link"
|
330 |
msgstr ""
|
331 |
|
332 |
-
#: ../lib/functions/KcSeoOptions.php:332, ../lib/functions/KcSeoOptions.php:
|
333 |
msgid "A reference page that unambiguously indicates the item's identity; for example, the URL of the item's Wikipedia page, Freebase page, or official website.<br> Enter new line for every entry"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: ../lib/functions/KcSeoOptions.php:335, ../lib/functions/KcSeoOptions.php:679, ../lib/functions/KcSeoOptions.php:
|
337 |
msgid "Review body"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: ../lib/functions/KcSeoOptions.php:338, ../lib/functions/KcSeoOptions.php:682, ../lib/functions/KcSeoOptions.php:
|
341 |
msgid "The actual body of the review."
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: ../lib/functions/KcSeoOptions.php:341, ../lib/functions/KcSeoOptions.php:698, ../lib/functions/KcSeoOptions.php:
|
345 |
msgid "Date of Published"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: ../lib/functions/KcSeoOptions.php:347, ../lib/functions/KcSeoOptions.php:453, ../lib/functions/KcSeoOptions.php:704, ../lib/functions/KcSeoOptions.php:
|
349 |
msgid "Rating value"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: ../lib/functions/KcSeoOptions.php:350, ../lib/functions/KcSeoOptions.php:707, ../lib/functions/KcSeoOptions.php:798, ../lib/functions/KcSeoOptions.php:
|
353 |
msgid "A numerical quality rating for the item."
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: ../lib/functions/KcSeoOptions.php:353, ../lib/functions/KcSeoOptions.php:710, ../lib/functions/KcSeoOptions.php:
|
357 |
msgid "Best rating"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: ../lib/functions/KcSeoOptions.php:356, ../lib/functions/KcSeoOptions.php:713, ../lib/functions/KcSeoOptions.php:
|
361 |
msgid "The highest value allowed in this rating system."
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: ../lib/functions/KcSeoOptions.php:359, ../lib/functions/KcSeoOptions.php:716, ../lib/functions/KcSeoOptions.php:
|
365 |
msgid "Worst rating"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: ../lib/functions/KcSeoOptions.php:362, ../lib/functions/KcSeoOptions.php:719, ../lib/functions/KcSeoOptions.php:
|
369 |
msgid "The lowest value allowed in this rating system. * Required if the rating system is not on a 5-point scale. If worstRating is omitted, 1 is assumed."
|
370 |
msgstr ""
|
371 |
|
@@ -382,7 +382,7 @@ msgid "The URL of a product photo. Pictures clearly showing the product, e.g. ag
|
|
382 |
msgstr ""
|
383 |
|
384 |
#: ../lib/functions/KcSeoOptions.php:387
|
385 |
-
msgid "Product description."
|
386 |
msgstr ""
|
387 |
|
388 |
#: ../lib/functions/KcSeoOptions.php:390
|
@@ -497,7 +497,7 @@ msgid "The title of the video"
|
|
497 |
msgstr ""
|
498 |
|
499 |
#: ../lib/functions/KcSeoOptions.php:538
|
500 |
-
msgid "The description of the video"
|
501 |
msgstr ""
|
502 |
|
503 |
#: ../lib/functions/KcSeoOptions.php:545
|
@@ -585,7 +585,7 @@ msgid "Indicates the mobility of a provided service (e.g. 'static', 'dynamic')."
|
|
585 |
msgstr ""
|
586 |
|
587 |
#: ../lib/functions/KcSeoOptions.php:627
|
588 |
-
msgid "A short description of the service."
|
589 |
msgstr ""
|
590 |
|
591 |
#: ../lib/functions/KcSeoOptions.php:633
|
@@ -660,12 +660,12 @@ msgstr ""
|
|
660 |
msgid "The item that is being rated."
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: ../lib/functions/KcSeoOptions.php:760, ../lib/functions/KcSeoOptions.php:
|
664 |
msgid "The price range of the business, for example $$$."
|
665 |
msgstr ""
|
666 |
|
667 |
#: ../lib/functions/KcSeoOptions.php:777
|
668 |
-
msgid "Description for thr review"
|
669 |
msgstr ""
|
670 |
|
671 |
#: ../lib/functions/KcSeoOptions.php:780
|
@@ -716,99 +716,103 @@ msgstr ""
|
|
716 |
msgid "Description of the Restaurant"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: ../lib/functions/KcSeoOptions.php:
|
|
|
|
|
|
|
|
|
720 |
msgid "Opening Hours"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: ../lib/functions/KcSeoOptions.php:
|
724 |
msgid "Mo,Tu,We,Th,Fr,Sa,Su 11:30-23:00"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: ../lib/functions/KcSeoOptions.php:
|
728 |
msgid "Telephone"
|
729 |
msgstr ""
|
730 |
|
731 |
-
#: ../lib/functions/KcSeoOptions.php:
|
732 |
msgid "+155501003333"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: ../lib/functions/KcSeoOptions.php:
|
736 |
msgid "Menu"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: ../lib/functions/KcSeoOptions.php:
|
740 |
msgid "http://example.com/menu"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: ../lib/functions/KcSeoOptions.php:
|
744 |
msgid "Address"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: ../lib/functions/KcSeoOptions.php:
|
748 |
msgid "Price Range"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: ../lib/functions/KcSeoOptions.php:
|
752 |
msgid "The price range of the business, for example $$$"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: ../lib/functions/KcSeoOptions.php:
|
756 |
msgid "Serves Cuisine"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: ../lib/functions/KcSeoOptions.php:
|
760 |
msgid "The cuisine of the restaurant."
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: ../lib/functions/KcSeoOptions.php:
|
764 |
msgid "Local Business"
|
765 |
msgstr ""
|
766 |
|
767 |
-
#: ../lib/functions/KcSeoOptions.php:
|
768 |
msgid "Business Logo"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#: ../lib/functions/KcSeoOptions.php:
|
772 |
msgid "Address locality"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: ../lib/functions/KcSeoOptions.php:
|
776 |
msgid "City (i.e Kansas city)"
|
777 |
msgstr ""
|
778 |
|
779 |
-
#: ../lib/functions/KcSeoOptions.php:
|
780 |
msgid "Address region"
|
781 |
msgstr ""
|
782 |
|
783 |
-
#: ../lib/functions/KcSeoOptions.php:
|
784 |
msgid "State (i.e. MO)"
|
785 |
msgstr ""
|
786 |
|
787 |
-
#: ../lib/functions/KcSeoOptions.php:
|
788 |
msgid "Postal code"
|
789 |
msgstr ""
|
790 |
|
791 |
-
#: ../lib/functions/KcSeoOptions.php:
|
792 |
msgid "Street address"
|
793 |
msgstr ""
|
794 |
|
795 |
-
#: ../lib/functions/KcSeoOptions.php:
|
796 |
msgid "Book"
|
797 |
msgstr ""
|
798 |
|
799 |
-
#: ../lib/functions/KcSeoOptions.php:
|
800 |
msgid "Course"
|
801 |
msgstr ""
|
802 |
|
803 |
-
#: ../lib/functions/KcSeoOptions.php:
|
804 |
msgid "Job Posting"
|
805 |
msgstr ""
|
806 |
|
807 |
-
#: ../lib/functions/KcSeoOptions.php:
|
808 |
msgid "Movie"
|
809 |
msgstr ""
|
810 |
|
811 |
-
#: ../lib/functions/KcSeoOptions.php:
|
812 |
msgid "TVEpisode"
|
813 |
msgstr ""
|
814 |
|
13 |
"X-Poedit-SourceCharset: UTF-8\n"
|
14 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
15 |
|
16 |
+
#: ../lib/classes/KcSeoHelper.php:481
|
17 |
msgid "Pro Version Features"
|
18 |
msgstr ""
|
19 |
|
20 |
+
#: ../lib/classes/KcSeoHelper.php:483
|
21 |
msgid "Includes Auto-fill function <---Popular"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: ../lib/classes/KcSeoHelper.php:484
|
25 |
msgid "Supports Custom Post Types beyond default page and posts"
|
26 |
msgstr ""
|
27 |
|
28 |
+
#: ../lib/classes/KcSeoHelper.php:485
|
29 |
msgid "Supports WordPress Multisite"
|
30 |
msgstr ""
|
31 |
|
32 |
+
#: ../lib/classes/KcSeoHelper.php:486
|
33 |
msgid "Supports more schema types:"
|
34 |
msgstr ""
|
35 |
|
36 |
+
#: ../lib/classes/KcSeoHelper.php:488
|
37 |
msgid "Books"
|
38 |
msgstr ""
|
39 |
|
40 |
+
#: ../lib/classes/KcSeoHelper.php:489
|
41 |
msgid "Courses"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: ../lib/classes/KcSeoHelper.php:490
|
45 |
msgid "Job Postings"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: ../lib/classes/KcSeoHelper.php:491
|
49 |
msgid "Movies"
|
50 |
msgstr ""
|
51 |
|
52 |
+
#: ../lib/classes/KcSeoHelper.php:492, ../lib/functions/KcSeoOptions.php:990
|
53 |
msgid "Music"
|
54 |
msgstr ""
|
55 |
|
56 |
+
#: ../lib/classes/KcSeoHelper.php:493, ../lib/functions/KcSeoOptions.php:994
|
57 |
msgid "Recipe"
|
58 |
msgstr ""
|
59 |
|
60 |
+
#: ../lib/classes/KcSeoHelper.php:494
|
61 |
msgid "TV Episode"
|
62 |
msgstr ""
|
63 |
|
64 |
+
#: ../lib/classes/KcSeoHelper.php:495, ../lib/functions/KcSeoOptions.php:1002
|
65 |
msgid "QAPage"
|
66 |
msgstr ""
|
67 |
|
68 |
+
#: ../lib/classes/KcSeoHelper.php:496, ../lib/functions/KcSeoOptions.php:1006
|
69 |
msgid "Item List"
|
70 |
msgstr ""
|
71 |
|
72 |
+
#: ../lib/classes/KcSeoHelper.php:502
|
73 |
msgid "Get the Pro Version"
|
74 |
msgstr ""
|
75 |
|
145 |
msgid "Published date"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: ../lib/functions/KcSeoOptions.php:44, ../lib/functions/KcSeoOptions.php:51, ../lib/functions/KcSeoOptions.php:117, ../lib/functions/KcSeoOptions.php:124, ../lib/functions/KcSeoOptions.php:186, ../lib/functions/KcSeoOptions.php:194, ../lib/functions/KcSeoOptions.php:344, ../lib/functions/KcSeoOptions.php:579, ../lib/functions/KcSeoOptions.php:701, ../lib/functions/KcSeoOptions.php:950
|
149 |
msgid "Like this: 2015-12-25 14:20:00"
|
150 |
msgstr ""
|
151 |
|
169 |
msgid "Logos should have a wide aspect ratio, not a square icon.<br>Logos should be no wider than 600px, and no taller than 60px.<br>Always retain the original aspect ratio of the logo when resizing. Ideally, logos are exactly 60px tall with width <= 600px. If maintaining a height of 60px would cause the width to exceed 600px, downscale the logo to exactly 600px wide and reduce the height accordingly below 60px to maintain the original aspect ratio.<br>"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: ../lib/functions/KcSeoOptions.php:66, ../lib/functions/KcSeoOptions.php:140, ../lib/functions/KcSeoOptions.php:209, ../lib/functions/KcSeoOptions.php:260, ../lib/functions/KcSeoOptions.php:385, ../lib/functions/KcSeoOptions.php:535, ../lib/functions/KcSeoOptions.php:775, ../lib/functions/KcSeoOptions.php:882, ../lib/views/schema-options.php:170, ../lib/views/schema-options.php:255
|
173 |
msgid "Description"
|
174 |
msgstr ""
|
175 |
|
176 |
#: ../lib/functions/KcSeoOptions.php:68, ../lib/functions/KcSeoOptions.php:142, ../lib/functions/KcSeoOptions.php:211
|
177 |
+
msgid "Short description. New line is not supported."
|
178 |
msgstr ""
|
179 |
|
180 |
#: ../lib/functions/KcSeoOptions.php:71, ../lib/functions/KcSeoOptions.php:145, ../lib/functions/KcSeoOptions.php:214
|
217 |
msgid "News Article"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: ../lib/functions/KcSeoOptions.php:171, ../lib/functions/KcSeoOptions.php:323, ../lib/functions/KcSeoOptions.php:691, ../lib/functions/KcSeoOptions.php:929
|
221 |
msgid "Author"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: ../lib/functions/KcSeoOptions.php:177, ../lib/functions/KcSeoOptions.php:380, ../lib/functions/KcSeoOptions.php:849, ../lib/views/schema-options.php:247
|
225 |
msgid "Image"
|
226 |
msgstr ""
|
227 |
|
228 |
#: ../lib/functions/KcSeoOptions.php:216
|
229 |
+
msgid "Article body content. New line is not supported."
|
230 |
msgstr ""
|
231 |
|
232 |
#: ../lib/functions/KcSeoOptions.php:222
|
233 |
msgid "Event"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: ../lib/functions/KcSeoOptions.php:228, ../lib/functions/KcSeoOptions.php:374, ../lib/functions/KcSeoOptions.php:529, ../lib/functions/KcSeoOptions.php:591, ../lib/functions/KcSeoOptions.php:877, ../lib/views/schema-options.php:224
|
237 |
msgid "Name"
|
238 |
msgstr ""
|
239 |
|
274 |
msgstr ""
|
275 |
|
276 |
#: ../lib/functions/KcSeoOptions.php:263
|
277 |
+
msgid "Event description. New line is not supported."
|
278 |
msgstr ""
|
279 |
|
280 |
#: ../lib/functions/KcSeoOptions.php:266
|
317 |
msgid "A link to the event's details page. <span class='required'>Not required but (Recommended)</span>"
|
318 |
msgstr ""
|
319 |
|
320 |
+
#: ../lib/functions/KcSeoOptions.php:315, ../lib/functions/KcSeoOptions.php:662, ../lib/functions/KcSeoOptions.php:921
|
321 |
msgid "Review"
|
322 |
msgstr ""
|
323 |
|
324 |
+
#: ../lib/functions/KcSeoOptions.php:317, ../lib/functions/KcSeoOptions.php:923
|
325 |
msgid "To add review schema for this type, complete fields below and enable, others live blank."
|
326 |
msgstr ""
|
327 |
|
328 |
+
#: ../lib/functions/KcSeoOptions.php:328, ../lib/functions/KcSeoOptions.php:934
|
329 |
msgid "Author Same As profile link"
|
330 |
msgstr ""
|
331 |
|
332 |
+
#: ../lib/functions/KcSeoOptions.php:332, ../lib/functions/KcSeoOptions.php:938
|
333 |
msgid "A reference page that unambiguously indicates the item's identity; for example, the URL of the item's Wikipedia page, Freebase page, or official website.<br> Enter new line for every entry"
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: ../lib/functions/KcSeoOptions.php:335, ../lib/functions/KcSeoOptions.php:679, ../lib/functions/KcSeoOptions.php:941
|
337 |
msgid "Review body"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: ../lib/functions/KcSeoOptions.php:338, ../lib/functions/KcSeoOptions.php:682, ../lib/functions/KcSeoOptions.php:944
|
341 |
msgid "The actual body of the review."
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: ../lib/functions/KcSeoOptions.php:341, ../lib/functions/KcSeoOptions.php:698, ../lib/functions/KcSeoOptions.php:947
|
345 |
msgid "Date of Published"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: ../lib/functions/KcSeoOptions.php:347, ../lib/functions/KcSeoOptions.php:453, ../lib/functions/KcSeoOptions.php:704, ../lib/functions/KcSeoOptions.php:953
|
349 |
msgid "Rating value"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: ../lib/functions/KcSeoOptions.php:350, ../lib/functions/KcSeoOptions.php:707, ../lib/functions/KcSeoOptions.php:798, ../lib/functions/KcSeoOptions.php:956
|
353 |
msgid "A numerical quality rating for the item."
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: ../lib/functions/KcSeoOptions.php:353, ../lib/functions/KcSeoOptions.php:710, ../lib/functions/KcSeoOptions.php:959
|
357 |
msgid "Best rating"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: ../lib/functions/KcSeoOptions.php:356, ../lib/functions/KcSeoOptions.php:713, ../lib/functions/KcSeoOptions.php:962
|
361 |
msgid "The highest value allowed in this rating system."
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: ../lib/functions/KcSeoOptions.php:359, ../lib/functions/KcSeoOptions.php:716, ../lib/functions/KcSeoOptions.php:965
|
365 |
msgid "Worst rating"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: ../lib/functions/KcSeoOptions.php:362, ../lib/functions/KcSeoOptions.php:719, ../lib/functions/KcSeoOptions.php:968
|
369 |
msgid "The lowest value allowed in this rating system. * Required if the rating system is not on a 5-point scale. If worstRating is omitted, 1 is assumed."
|
370 |
msgstr ""
|
371 |
|
382 |
msgstr ""
|
383 |
|
384 |
#: ../lib/functions/KcSeoOptions.php:387
|
385 |
+
msgid "Product description. New line is not supported."
|
386 |
msgstr ""
|
387 |
|
388 |
#: ../lib/functions/KcSeoOptions.php:390
|
497 |
msgstr ""
|
498 |
|
499 |
#: ../lib/functions/KcSeoOptions.php:538
|
500 |
+
msgid "The description of the video. New line is not supported."
|
501 |
msgstr ""
|
502 |
|
503 |
#: ../lib/functions/KcSeoOptions.php:545
|
585 |
msgstr ""
|
586 |
|
587 |
#: ../lib/functions/KcSeoOptions.php:627
|
588 |
+
msgid "A short description of the service. New line is not supported."
|
589 |
msgstr ""
|
590 |
|
591 |
#: ../lib/functions/KcSeoOptions.php:633
|
660 |
msgid "The item that is being rated."
|
661 |
msgstr ""
|
662 |
|
663 |
+
#: ../lib/functions/KcSeoOptions.php:760, ../lib/functions/KcSeoOptions.php:895, ../lib/views/schema-options.php:118
|
664 |
msgid "The price range of the business, for example $$$."
|
665 |
msgstr ""
|
666 |
|
667 |
#: ../lib/functions/KcSeoOptions.php:777
|
668 |
+
msgid "Description for thr review. New line is not supported."
|
669 |
msgstr ""
|
670 |
|
671 |
#: ../lib/functions/KcSeoOptions.php:780
|
716 |
msgid "Description of the Restaurant"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: ../lib/functions/KcSeoOptions.php:831, ../lib/functions/KcSeoOptions.php:884
|
720 |
+
msgid "New line is not supported."
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: ../lib/functions/KcSeoOptions.php:834
|
724 |
msgid "Opening Hours"
|
725 |
msgstr ""
|
726 |
|
727 |
+
#: ../lib/functions/KcSeoOptions.php:836
|
728 |
msgid "Mo,Tu,We,Th,Fr,Sa,Su 11:30-23:00"
|
729 |
msgstr ""
|
730 |
|
731 |
+
#: ../lib/functions/KcSeoOptions.php:839, ../lib/functions/KcSeoOptions.php:916
|
732 |
msgid "Telephone"
|
733 |
msgstr ""
|
734 |
|
735 |
+
#: ../lib/functions/KcSeoOptions.php:841
|
736 |
msgid "+155501003333"
|
737 |
msgstr ""
|
738 |
|
739 |
+
#: ../lib/functions/KcSeoOptions.php:844
|
740 |
msgid "Menu"
|
741 |
msgstr ""
|
742 |
|
743 |
+
#: ../lib/functions/KcSeoOptions.php:846
|
744 |
msgid "http://example.com/menu"
|
745 |
msgstr ""
|
746 |
|
747 |
+
#: ../lib/functions/KcSeoOptions.php:854, ../lib/views/schema-options.php:270
|
748 |
msgid "Address"
|
749 |
msgstr ""
|
750 |
|
751 |
+
#: ../lib/functions/KcSeoOptions.php:858, ../lib/functions/KcSeoOptions.php:892, ../lib/views/schema-options.php:113
|
752 |
msgid "Price Range"
|
753 |
msgstr ""
|
754 |
|
755 |
+
#: ../lib/functions/KcSeoOptions.php:860
|
756 |
msgid "The price range of the business, for example $$$"
|
757 |
msgstr ""
|
758 |
|
759 |
+
#: ../lib/functions/KcSeoOptions.php:863
|
760 |
msgid "Serves Cuisine"
|
761 |
msgstr ""
|
762 |
|
763 |
+
#: ../lib/functions/KcSeoOptions.php:865, ../lib/views/schema-options.php:159
|
764 |
msgid "The cuisine of the restaurant."
|
765 |
msgstr ""
|
766 |
|
767 |
+
#: ../lib/functions/KcSeoOptions.php:871
|
768 |
msgid "Local Business"
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: ../lib/functions/KcSeoOptions.php:887
|
772 |
msgid "Business Logo"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: ../lib/functions/KcSeoOptions.php:898
|
776 |
msgid "Address locality"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: ../lib/functions/KcSeoOptions.php:900
|
780 |
msgid "City (i.e Kansas city)"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: ../lib/functions/KcSeoOptions.php:903
|
784 |
msgid "Address region"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: ../lib/functions/KcSeoOptions.php:905
|
788 |
msgid "State (i.e. MO)"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: ../lib/functions/KcSeoOptions.php:908
|
792 |
msgid "Postal code"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: ../lib/functions/KcSeoOptions.php:912
|
796 |
msgid "Street address"
|
797 |
msgstr ""
|
798 |
|
799 |
+
#: ../lib/functions/KcSeoOptions.php:974
|
800 |
msgid "Book"
|
801 |
msgstr ""
|
802 |
|
803 |
+
#: ../lib/functions/KcSeoOptions.php:978
|
804 |
msgid "Course"
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: ../lib/functions/KcSeoOptions.php:982
|
808 |
msgid "Job Posting"
|
809 |
msgstr ""
|
810 |
|
811 |
+
#: ../lib/functions/KcSeoOptions.php:986
|
812 |
msgid "Movie"
|
813 |
msgstr ""
|
814 |
|
815 |
+
#: ../lib/functions/KcSeoOptions.php:998
|
816 |
msgid "TVEpisode"
|
817 |
msgstr ""
|
818 |
|
lib/classes/KcSeoHelper.php
CHANGED
@@ -69,38 +69,42 @@ if (!class_exists('KcSeoSettings')):
|
|
69 |
/**
|
70 |
* Sanitize field value
|
71 |
*
|
72 |
-
* @param
|
73 |
-
* @param
|
|
|
74 |
*
|
75 |
* @return array|null
|
76 |
* @internal param $value
|
77 |
*/
|
78 |
-
function sanitize($field = array(), $value = null) {
|
79 |
$newValue = null;
|
|
|
80 |
if (is_array($field) && $value) {
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
|
|
96 |
}
|
|
|
97 |
}
|
98 |
-
|
|
|
|
|
99 |
}
|
100 |
-
$newValue = $newGValue;
|
101 |
-
} else {
|
102 |
-
$newValue = sanitize_text_field($value);
|
103 |
}
|
|
|
104 |
}
|
105 |
|
106 |
return $newValue;
|
@@ -152,256 +156,262 @@ if (!class_exists('KcSeoSettings')):
|
|
152 |
return $data;
|
153 |
}
|
154 |
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
405 |
|
406 |
function fix1_2DataMigration() {
|
407 |
global $KcSeoWPSchema;
|
69 |
/**
|
70 |
* Sanitize field value
|
71 |
*
|
72 |
+
* @param string $fieldId
|
73 |
+
* @param array $field
|
74 |
+
* @param null $value
|
75 |
*
|
76 |
* @return array|null
|
77 |
* @internal param $value
|
78 |
*/
|
79 |
+
function sanitize($fieldId, $field = array(), $value = null) {
|
80 |
$newValue = null;
|
81 |
+
$type = (!empty($field['type']) ? $field['type'] : 'text');
|
82 |
if (is_array($field) && $value) {
|
83 |
+
if (in_array($fieldId, ['description', 'articleBody', 'review_body'])) {
|
84 |
+
$newValue = KcSeoHelper::filter_content($value);
|
85 |
+
} else {
|
86 |
+
if ($type == 'url') {
|
87 |
+
$newValue = esc_url($value);
|
88 |
+
} else if ($type == 'textarea') {
|
89 |
+
$newValue = wp_kses($value, []);
|
90 |
+
} else if ($field['type'] == 'group' && !empty($field['fields'])) {
|
91 |
+
$newGValue = [];
|
92 |
+
$groupValue = is_array($value) ? $value : [];
|
93 |
+
foreach ($groupValue as $gId => $gValue) {
|
94 |
+
$newVItem = [];
|
95 |
+
foreach ($field['fields'] as $gFid => $fieldItem) {
|
96 |
+
if (isset($gValue[$gFid])) {
|
97 |
+
$newVItem[$gFid] = $this->sanitize($gFid, $fieldItem, $gValue[$gFid]);
|
98 |
+
}
|
99 |
}
|
100 |
+
array_push($newGValue, $newVItem);
|
101 |
}
|
102 |
+
$newValue = $newGValue;
|
103 |
+
} else {
|
104 |
+
$newValue = sanitize_text_field($value);
|
105 |
}
|
|
|
|
|
|
|
106 |
}
|
107 |
+
|
108 |
}
|
109 |
|
110 |
return $newValue;
|
156 |
return $data;
|
157 |
}
|
158 |
|
159 |
+
static function filter_content($content, $limit = 0) {
|
160 |
+
$content = preg_replace('#\[[^\]]+\]#', '', wp_filter_nohtml_kses($content));
|
161 |
+
$content = stripslashes($content);
|
162 |
+
$content = convert_invalid_entities($content);
|
163 |
+
$content = self::characterToHTMLEntity($content);
|
164 |
+
if ($limit && strlen($content) > $limit) {
|
165 |
+
$content = mb_substr($content, 0, $limit, "utf-8");
|
166 |
+
$content = preg_replace('/\W\w+\s*(\W*)$/', '$1', $content);
|
167 |
+
}
|
168 |
+
|
169 |
+
$content = str_replace('&nbps;', ' ', $content);
|
170 |
+
$content = str_replace(PHP_EOL, ' ', $content);
|
171 |
+
$content = str_replace("\r", '', $content);
|
172 |
+
|
173 |
+
return $content;
|
174 |
+
}
|
175 |
+
|
176 |
+
static function characterToHTMLEntity($str) {
|
177 |
+
$replace = array(
|
178 |
+
"'",
|
179 |
+
'&',
|
180 |
+
'<',
|
181 |
+
'>',
|
182 |
+
'€',
|
183 |
+
'‘',
|
184 |
+
'’',
|
185 |
+
'“',
|
186 |
+
'”',
|
187 |
+
'–',
|
188 |
+
'—',
|
189 |
+
'¡',
|
190 |
+
'¢',
|
191 |
+
'£',
|
192 |
+
'¤',
|
193 |
+
'¥',
|
194 |
+
'¦',
|
195 |
+
'§',
|
196 |
+
'¨',
|
197 |
+
'©',
|
198 |
+
'ª',
|
199 |
+
'«',
|
200 |
+
'¬',
|
201 |
+
'®',
|
202 |
+
'¯',
|
203 |
+
'°',
|
204 |
+
'±',
|
205 |
+
'²',
|
206 |
+
'³',
|
207 |
+
'´',
|
208 |
+
'µ',
|
209 |
+
'¶',
|
210 |
+
'·',
|
211 |
+
'¸',
|
212 |
+
'¹',
|
213 |
+
'º',
|
214 |
+
'»',
|
215 |
+
'¼',
|
216 |
+
'½',
|
217 |
+
'¾',
|
218 |
+
'¿',
|
219 |
+
'À',
|
220 |
+
'Á',
|
221 |
+
'Â',
|
222 |
+
'Ã',
|
223 |
+
'Ä',
|
224 |
+
'Å',
|
225 |
+
'Æ',
|
226 |
+
'Ç',
|
227 |
+
'È',
|
228 |
+
'É',
|
229 |
+
'Ê',
|
230 |
+
'Ë',
|
231 |
+
'Ì',
|
232 |
+
'Í',
|
233 |
+
'Î',
|
234 |
+
'Ï',
|
235 |
+
'Ð',
|
236 |
+
'Ñ',
|
237 |
+
'Ò',
|
238 |
+
'Ó',
|
239 |
+
'Ô',
|
240 |
+
'Õ',
|
241 |
+
'Ö',
|
242 |
+
'×',
|
243 |
+
'Ø',
|
244 |
+
'Ù',
|
245 |
+
'Ú',
|
246 |
+
'Û',
|
247 |
+
'Ü',
|
248 |
+
'Ý',
|
249 |
+
'Þ',
|
250 |
+
'ß',
|
251 |
+
'à',
|
252 |
+
'á',
|
253 |
+
'â',
|
254 |
+
'ã',
|
255 |
+
'ä',
|
256 |
+
'å',
|
257 |
+
'æ',
|
258 |
+
'ç',
|
259 |
+
'è',
|
260 |
+
'é',
|
261 |
+
'ê',
|
262 |
+
'ë',
|
263 |
+
'ì',
|
264 |
+
'í',
|
265 |
+
'î',
|
266 |
+
'ï',
|
267 |
+
'ð',
|
268 |
+
'ñ',
|
269 |
+
'ò',
|
270 |
+
'ó',
|
271 |
+
'ô',
|
272 |
+
'õ',
|
273 |
+
'ö',
|
274 |
+
'÷',
|
275 |
+
'ø',
|
276 |
+
'ù',
|
277 |
+
'ú',
|
278 |
+
'û',
|
279 |
+
'ü',
|
280 |
+
'ý',
|
281 |
+
'þ',
|
282 |
+
'ÿ',
|
283 |
+
'Œ',
|
284 |
+
'œ',
|
285 |
+
'‚',
|
286 |
+
'„',
|
287 |
+
'…',
|
288 |
+
'™',
|
289 |
+
'•',
|
290 |
+
'˜'
|
291 |
+
);
|
292 |
+
|
293 |
+
$search = array(
|
294 |
+
'’',
|
295 |
+
'&',
|
296 |
+
'<',
|
297 |
+
'>',
|
298 |
+
'€',
|
299 |
+
'‘',
|
300 |
+
'’',
|
301 |
+
'“',
|
302 |
+
'”',
|
303 |
+
'–',
|
304 |
+
'—',
|
305 |
+
'¡',
|
306 |
+
'¢',
|
307 |
+
'£',
|
308 |
+
'¤',
|
309 |
+
'¥',
|
310 |
+
'¦',
|
311 |
+
'§',
|
312 |
+
'¨',
|
313 |
+
'©',
|
314 |
+
'ª',
|
315 |
+
'«',
|
316 |
+
'¬',
|
317 |
+
'®',
|
318 |
+
'¯',
|
319 |
+
'°',
|
320 |
+
'±',
|
321 |
+
'²',
|
322 |
+
'³',
|
323 |
+
'´',
|
324 |
+
'µ',
|
325 |
+
'¶',
|
326 |
+
'·',
|
327 |
+
'¸',
|
328 |
+
'¹',
|
329 |
+
'º',
|
330 |
+
'»',
|
331 |
+
'¼',
|
332 |
+
'½',
|
333 |
+
'¾',
|
334 |
+
'¿',
|
335 |
+
'À',
|
336 |
+
'Á',
|
337 |
+
'Â',
|
338 |
+
'Ã',
|
339 |
+
'Ä',
|
340 |
+
'Å',
|
341 |
+
'Æ',
|
342 |
+
'Ç',
|
343 |
+
'È',
|
344 |
+
'É',
|
345 |
+
'Ê',
|
346 |
+
'Ë',
|
347 |
+
'Ì',
|
348 |
+
'Í',
|
349 |
+
'Î',
|
350 |
+
'Ï',
|
351 |
+
'Ð',
|
352 |
+
'Ñ',
|
353 |
+
'Ò',
|
354 |
+
'Ó',
|
355 |
+
'Ô',
|
356 |
+
'Õ',
|
357 |
+
'Ö',
|
358 |
+
'×',
|
359 |
+
'Ø',
|
360 |
+
'Ù',
|
361 |
+
'Ú',
|
362 |
+
'Û',
|
363 |
+
'Ü',
|
364 |
+
'Ý',
|
365 |
+
'Þ',
|
366 |
+
'ß',
|
367 |
+
'à',
|
368 |
+
'á',
|
369 |
+
'â',
|
370 |
+
'ã',
|
371 |
+
'ä',
|
372 |
+
'å',
|
373 |
+
'æ',
|
374 |
+
'ç',
|
375 |
+
'è',
|
376 |
+
'é',
|
377 |
+
'ê',
|
378 |
+
'ë',
|
379 |
+
'ì',
|
380 |
+
'í',
|
381 |
+
'î',
|
382 |
+
'ï',
|
383 |
+
'ð',
|
384 |
+
'ñ',
|
385 |
+
'ò',
|
386 |
+
'ó',
|
387 |
+
'ô',
|
388 |
+
'õ',
|
389 |
+
'ö',
|
390 |
+
'÷',
|
391 |
+
'ø',
|
392 |
+
'ù',
|
393 |
+
'ú',
|
394 |
+
'û',
|
395 |
+
'ü',
|
396 |
+
'ý',
|
397 |
+
'þ',
|
398 |
+
'ÿ',
|
399 |
+
'Œ',
|
400 |
+
'œ',
|
401 |
+
'‚',
|
402 |
+
'„',
|
403 |
+
'…',
|
404 |
+
'™',
|
405 |
+
'•',
|
406 |
+
'≈'
|
407 |
+
);
|
408 |
+
|
409 |
+
//REPLACE VALUES
|
410 |
+
$str = str_replace($search, $replace, $str);
|
411 |
+
|
412 |
+
//RETURN FORMATED STRING
|
413 |
+
return $str;
|
414 |
+
}
|
415 |
|
416 |
function fix1_2DataMigration() {
|
417 |
global $KcSeoWPSchema;
|
lib/functions/KcSeoOptions.php
CHANGED
@@ -65,7 +65,7 @@ class KcSeoOptions
|
|
65 |
'description' => array(
|
66 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
67 |
'type' => 'textarea',
|
68 |
-
'desc' => __('Short description', "wp-seo-structured-data-schema")
|
69 |
),
|
70 |
'articleBody' => array(
|
71 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
@@ -139,7 +139,7 @@ class KcSeoOptions
|
|
139 |
'description' => array(
|
140 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
141 |
'type' => 'textarea',
|
142 |
-
'desc' => __('Short description', "wp-seo-structured-data-schema")
|
143 |
),
|
144 |
'articleBody' => array(
|
145 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
@@ -208,12 +208,12 @@ class KcSeoOptions
|
|
208 |
'description' => array(
|
209 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
210 |
'type' => 'textarea',
|
211 |
-
'desc' => __('Short description', "wp-seo-structured-data-schema")
|
212 |
),
|
213 |
'articleBody' => array(
|
214 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
215 |
'type' => 'textarea',
|
216 |
-
'desc' => __('Article body content', "wp-seo-structured-data-schema")
|
217 |
)
|
218 |
)
|
219 |
),
|
@@ -260,7 +260,7 @@ class KcSeoOptions
|
|
260 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
261 |
'type' => 'textarea',
|
262 |
'recommended' => true,
|
263 |
-
'desc' => __("Event description", "wp-seo-structured-data-schema")
|
264 |
),
|
265 |
'performerName' => array(
|
266 |
'title' => __('Performer Name', "wp-seo-structured-data-schema"),
|
@@ -384,7 +384,7 @@ class KcSeoOptions
|
|
384 |
'description' => array(
|
385 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
386 |
'type' => 'textarea',
|
387 |
-
'desc' => __("Product description.", "wp-seo-structured-data-schema")
|
388 |
),
|
389 |
'sku' => array(
|
390 |
'title' => __('SKU', "wp-seo-structured-data-schema"),
|
@@ -535,7 +535,7 @@ class KcSeoOptions
|
|
535 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
536 |
'type' => 'textarea',
|
537 |
'required' => true,
|
538 |
-
'desc' => __("The description of the video", "wp-seo-structured-data-schema")
|
539 |
),
|
540 |
'thumbnailUrl' => array(
|
541 |
'title' => 'Thumbnail URL',
|
@@ -624,7 +624,7 @@ class KcSeoOptions
|
|
624 |
'title' => 'Description',
|
625 |
'type' => 'textarea',
|
626 |
'require' => true,
|
627 |
-
'desc' => __("A short description of the service.", "wp-seo-structured-data-schema")
|
628 |
),
|
629 |
'image' => array(
|
630 |
'title' => 'Image URL',
|
@@ -774,7 +774,7 @@ class KcSeoOptions
|
|
774 |
'description' => array(
|
775 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
776 |
'type' => 'textarea',
|
777 |
-
'desc' => __("Description for thr review", "wp-seo-structured-data-schema")
|
778 |
),
|
779 |
'ratingCount' => array(
|
780 |
'title' => __('Rating Count', "wp-seo-structured-data-schema"),
|
@@ -828,6 +828,7 @@ class KcSeoOptions
|
|
828 |
'description' => array(
|
829 |
'title' => __('Description of the Restaurant', "wp-seo-structured-data-schema"),
|
830 |
'type' => 'textarea',
|
|
|
831 |
),
|
832 |
'openingHours' => array(
|
833 |
'title' => __('Opening Hours', "wp-seo-structured-data-schema"),
|
@@ -880,6 +881,7 @@ class KcSeoOptions
|
|
880 |
'description' => array(
|
881 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
882 |
'type' => 'textarea',
|
|
|
883 |
),
|
884 |
'image' => array(
|
885 |
'title' => __('Business Logo', "wp-seo-structured-data-schema"),
|
65 |
'description' => array(
|
66 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
67 |
'type' => 'textarea',
|
68 |
+
'desc' => __('Short description. New line is not supported.', "wp-seo-structured-data-schema")
|
69 |
),
|
70 |
'articleBody' => array(
|
71 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
139 |
'description' => array(
|
140 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
141 |
'type' => 'textarea',
|
142 |
+
'desc' => __('Short description. New line is not supported.', "wp-seo-structured-data-schema")
|
143 |
),
|
144 |
'articleBody' => array(
|
145 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
208 |
'description' => array(
|
209 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
210 |
'type' => 'textarea',
|
211 |
+
'desc' => __('Short description. New line is not supported.', "wp-seo-structured-data-schema")
|
212 |
),
|
213 |
'articleBody' => array(
|
214 |
'title' => __('Article body', "wp-seo-structured-data-schema"),
|
215 |
'type' => 'textarea',
|
216 |
+
'desc' => __('Article body content. New line is not supported.', "wp-seo-structured-data-schema")
|
217 |
)
|
218 |
)
|
219 |
),
|
260 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
261 |
'type' => 'textarea',
|
262 |
'recommended' => true,
|
263 |
+
'desc' => __("Event description. New line is not supported.", "wp-seo-structured-data-schema")
|
264 |
),
|
265 |
'performerName' => array(
|
266 |
'title' => __('Performer Name', "wp-seo-structured-data-schema"),
|
384 |
'description' => array(
|
385 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
386 |
'type' => 'textarea',
|
387 |
+
'desc' => __("Product description. New line is not supported.", "wp-seo-structured-data-schema")
|
388 |
),
|
389 |
'sku' => array(
|
390 |
'title' => __('SKU', "wp-seo-structured-data-schema"),
|
535 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
536 |
'type' => 'textarea',
|
537 |
'required' => true,
|
538 |
+
'desc' => __("The description of the video. New line is not supported.", "wp-seo-structured-data-schema")
|
539 |
),
|
540 |
'thumbnailUrl' => array(
|
541 |
'title' => 'Thumbnail URL',
|
624 |
'title' => 'Description',
|
625 |
'type' => 'textarea',
|
626 |
'require' => true,
|
627 |
+
'desc' => __("A short description of the service. New line is not supported.", "wp-seo-structured-data-schema")
|
628 |
),
|
629 |
'image' => array(
|
630 |
'title' => 'Image URL',
|
774 |
'description' => array(
|
775 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
776 |
'type' => 'textarea',
|
777 |
+
'desc' => __("Description for thr review. New line is not supported.", "wp-seo-structured-data-schema")
|
778 |
),
|
779 |
'ratingCount' => array(
|
780 |
'title' => __('Rating Count', "wp-seo-structured-data-schema"),
|
828 |
'description' => array(
|
829 |
'title' => __('Description of the Restaurant', "wp-seo-structured-data-schema"),
|
830 |
'type' => 'textarea',
|
831 |
+
'desc' => esc_html__('New line is not supported.', "wp-seo-structured-data-schema")
|
832 |
),
|
833 |
'openingHours' => array(
|
834 |
'title' => __('Opening Hours', "wp-seo-structured-data-schema"),
|
881 |
'description' => array(
|
882 |
'title' => __('Description', "wp-seo-structured-data-schema"),
|
883 |
'type' => 'textarea',
|
884 |
+
'desc' => esc_html__('New line is not supported.', "wp-seo-structured-data-schema")
|
885 |
),
|
886 |
'image' => array(
|
887 |
'title' => __('Business Logo', "wp-seo-structured-data-schema"),
|
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.
|
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.17
|
7 |
* Author: WPSEMPlugins
|
8 |
* Author URI: https://wpsemplugins.com/
|
9 |
* Text Domain: wp-seo-structured-data-schema
|