PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.7.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.7.0
2.7.0 2.6.0 2.5.0 2.4.0 2.3.0 2.2.0 2.1.1 2.1.0 2.0.2 2.0.1 2.0.0 1.32.0 1.31.0 1.30.0 1.29.0 1.28.0 1.27.0 1.26.0 1.25.0 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.10.0 All 48 releases
← All changes | includes/seo/class-schema-builder.php +10 -0 2.0.22.7.0 View file →
@@ -1039,8 +1039,18 @@
1039 1039 $data['url'] ?? '',
1040 1040 home_url()
1041 1041 );
1042 1042
1043 + // Both WebSite producers have to carry this or the deployed node and the
1044 + // default one disagree about the same site — the shape of failure #688
1045 + // documents. The default node is generate_website_schema() (#692).
1046 + $alternate_name = \ThinkRank\SEO\Site_Identity_Manager::alternate_name_for_schema(
1047 + $data['site_data']['alternate_name'] ?? null
1048 + );
1049 + if (null !== $alternate_name) {
1050 + $schema['alternateName'] = $alternate_name;
1051 + }
1052 +
1043 1053 // Recommended properties - prioritize user-configured Website schema description
1044 1054 if (!empty($data['site_data']['website_description'])) {
1045 1055 $schema['description'] = $this->truncate_text($data['site_data']['website_description'], 160);
1046 1056 } elseif (!empty($data['content'])) {