PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.1
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.1
2.14.2 2.14.1 2.14.0 2.13.0 2.12.0 2.11.0 2.10.0 2.9.0 2.8.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 All 57 releases
← All changes | includes/integrations/class-google-search-console-client.php +1 -6 2.14.2 → 2.14.1 View file →
@@ -101,15 +101,10 @@
101 101 // Check if the site is already verified by listing sites
102 102 $sites = $this->list_sites();
103 103 $site_verified = false;
104 104
105 - // A domain property is compared in its punycode form, so an IDN
106 - // matches whichever form the account lists it in.
107 - $wanted = \ThinkRank\Core\Url_Validator::search_console_domain_property($site_url) ?? $site_url;
108 -
109 105 foreach ($sites['siteEntry'] ?? [] as $site) {
110 - $listed = (string) ($site['siteUrl'] ?? '');
111 - if ($listed === $site_url || (\ThinkRank\Core\Url_Validator::search_console_domain_property($listed) ?? $listed) === $wanted) {
106 + if ($site['siteUrl'] === $site_url) {
112 107 $site_verified = true;
113 108 break;
114 109 }
115 110 }