PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.14.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.14.0
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 1.27.0 1.26.0 All 55 releases
← All changes | includes/core/class-seo-plugin-detector.php +18 -4 2.10.0 → 2.14.0 View file →
@@ -71,8 +71,17 @@
71 71 'file' => 'squirrly-seo/squirrly.php',
72 72 'extra_files' => ['squirrly-seo-pack/index.php'],
73 73 'importable' => true,
74 74 ],
75 + 'slimseo' => [
76 + 'name' => 'Slim SEO',
77 + 'class' => 'SlimSEO\\Activator',
78 + 'function' => '',
79 + 'file' => 'slim-seo/slim-seo.php',
80 + // Slim SEO Pro runs with or without the free plugin (#886).
81 + 'extra_files' => ['slim-seo-pro/slim-seo-pro.php'],
82 + 'importable' => true,
83 + ],
75 84 'theseoframework' => [
76 85 'name' => 'The SEO Framework',
77 86 'class' => 'The_SEO_Framework\\Load',
78 87 'function' => 'the_seo_framework',
@@ -156,11 +165,16 @@
156 165 if (!empty($plugin['function']) && function_exists($plugin['function'])) {
157 166 return true;
158 167 }
159 168
160 - // Check by plugin file
161 - if (!empty($plugin['file']) && function_exists('is_plugin_active') && is_plugin_active($plugin['file'])) {
162 - return true;
169 + // Check by plugin file, the add-on's included: Slim SEO Pro runs
170 + // without the free plugin, and is no less a second SEO plugin then.
171 + if (function_exists('is_plugin_active')) {
172 + foreach (array_merge([$plugin['file'] ?? ''], $plugin['extra_files'] ?? []) as $file) {
173 + if ($file !== '' && is_plugin_active($file)) {
174 + return true;
175 + }
176 + }
163 177 }
164 178
165 179 return false;
166 180 }
@@ -174,9 +188,9 @@
174 188 if (!self::has_seo_plugins()) {
175 189 return '';
176 190 }
177 191
178 - return __('Running more than one SEO plugin can create conflicts — duplicate meta tags, sitemaps, and schema markup that may hurt your search rankings. To avoid any SEO-related conflicts, we recommend deactivating third-party SEO plugins.', 'thinkrank');
192 + return __('Running more than one SEO plugin can create conflicts: duplicate meta tags, sitemaps, and schema markup that may hurt your search rankings. To avoid any SEO-related conflicts, we recommend deactivating third-party SEO plugins.', 'thinkrank');
179 193 }
180 194
181 195 /**
182 196 * Whether any detected plugin's SEO data can be imported into ThinkRank.