PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.13.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.13.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 1.25.0 All 54 releases
← All changes | includes/abilities/import/class-run-seo-import.php +6 -3 2.12.0 → 2.13.0 View file →
@@ -13,8 +13,9 @@
13 13 use ThinkRank\Admin\Importers\AIOSEO_Exporter;
14 14 use ThinkRank\Admin\Importers\Rankmath_Exporter;
15 15 use ThinkRank\Admin\Importers\SEOPress_Exporter;
16 16 use ThinkRank\Admin\Importers\Snapshot_Migrator;
17 +use ThinkRank\Admin\Importers\Slim_SEO_Exporter;
17 18 use ThinkRank\Admin\Importers\Squirrly_Exporter;
18 19 use ThinkRank\Admin\Importers\Yoast_Exporter;
19 20
20 21 if ( ! defined( 'ABSPATH' ) ) {
@@ -39,9 +40,9 @@
39 40 * Source plugins that can be imported.
40 41 *
41 42 * @var string[]
42 43 */
43 - private const ALLOWED_PLUGINS = [ 'yoast', 'rankmath', 'seopress', 'aioseo', 'squirrly' ];
44 + private const ALLOWED_PLUGINS = [ 'yoast', 'rankmath', 'seopress', 'aioseo', 'squirrly', 'slimseo' ];
44 45
45 46 /**
46 47 * Data types processed, in pipeline order.
47 48 *
@@ -59,9 +60,9 @@
59 60 */
60 61 public function __construct() {
61 62 $this->id = 'thinkrank/run-seo-import';
62 63 $this->label = __( 'Run SEO Data Import', 'thinkrank' );
63 - $this->description = __( 'Import SEO data from another plugin (Yoast, RankMath, SEOPress, AIOSEO, or Squirrly) into ThinkRank. Exports the source to a snapshot then migrates it; existing ThinkRank values are never overwritten and the source plugin\'s own meta and settings are left intact. The content_blocks type (RankMath only) edits post content: it rewrites RankMath FAQ and HowTo blocks into ThinkRank blocks. Each converted post gets a revision, or a restorable backup where revisions are disabled. Pass types to limit the run, for example to leave content_blocks out. Posts with malformed block markup are left unchanged and listed in errors. Returns aggregate export/migration counters. Run preview-seo-import first to see what would change; get-import-status reports on the snapshot afterwards.', 'thinkrank' );
64 + $this->description = __( 'Import SEO data from another plugin (Yoast, RankMath, SEOPress, AIOSEO, Squirrly, or Slim SEO) into ThinkRank. Exports the source to a snapshot then migrates it; existing ThinkRank values are never overwritten and the source plugin\'s own meta and settings are left intact. The content_blocks type (RankMath only) edits post content: it rewrites RankMath FAQ and HowTo blocks into ThinkRank blocks. Each converted post gets a revision, or a restorable backup where revisions are disabled. Pass types to limit the run, for example to leave content_blocks out. Posts with malformed block markup are left unchanged and listed in errors. Returns aggregate export/migration counters. Run preview-seo-import first to see what would change; get-import-status reports on the snapshot afterwards.', 'thinkrank' );
64 65 }
65 66
66 67 /**
67 68 * {@inheritDoc}
@@ -158,9 +159,9 @@
158 159
159 160 if ( ! in_array( $plugin, self::ALLOWED_PLUGINS, true ) ) {
160 161 return new \WP_Error(
161 162 'thinkrank_invalid_import_plugin',
162 - __( 'A supported source plugin is required (yoast, rankmath, seopress, aioseo, squirrly).', 'thinkrank' ),
163 + __( 'A supported source plugin is required (yoast, rankmath, seopress, aioseo, squirrly, slimseo).', 'thinkrank' ),
163 164 [ 'status' => 400 ]
164 165 );
165 166 }
166 167
@@ -266,8 +267,10 @@
266 267 case 'aioseo':
267 268 return new AIOSEO_Exporter();
268 269 case 'squirrly':
269 270 return new Squirrly_Exporter();
271 + case 'slimseo':
272 + return new Slim_SEO_Exporter();
270 273 default:
271 274 return null;
272 275 }
273 276 }