PluginProbe
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO / 2.9.0
ThinkRank AI SEO – AI SEO Plugin for WordPress: Schema, XML Sitemaps, Meta Tags, Search Console & Local SEO v2.9.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 trunk 1.0.0 1.0.1 All 51 releases
← All changes | includes/admin/importers/class-rankmath-exporter.php +0 -41 trunk → 2.9.0 View file →
@@ -182,17 +182,8 @@
182 182 if ($log_count > 0) {
183 183 $types['404_logs'] = $log_count;
184 184 }
185 185
186 - // FAQ / HowTo blocks live in post_content, not in any meta table, so
187 - // they are invisible to every count above. Without this type they were
188 - // never migrated at all and simply broke when Rank Math went away
189 - // (#777).
190 - $block_count = Block_Converter::count_posts();
191 - if ($block_count > 0) {
192 - $types[Block_Converter::TYPE] = $block_count;
193 - }
194 -
195 186 foreach ($this->option_keys as $key) {
196 187 if (get_option($key, null) !== null) {
197 188 $types['settings'] = 1;
198 189 break;
@@ -751,40 +742,8 @@
751 742 'last_accessed' => $this->normalize_rm_datetime($row['last_accessed'] ?? ''),
752 743 ],
753 744 ];
754 745 }
755 - }
756 -
757 - return $records;
758 - }
759 -
760 - /**
761 - * {@inheritDoc}
762 - *
763 - * `content_blocks` records carry post ids only. The blocks themselves stay
764 - * in `post_content` and are rewritten in place at migrate time — copying
765 - * the content into the snapshot would mean holding a second copy of every
766 - * FAQ page in `wp_options`, which is where snapshots live.
767 - */
768 - protected function export_custom_type_page(string $type, int $page): array {
769 - if (Block_Converter::TYPE !== $type) {
770 - return parent::export_custom_type_page($type, $page);
771 - }
772 -
773 - $post_ids = Block_Converter::get_post_ids($page, $this->chunk_size);
774 -
775 - // export_chunk() decides whether another page follows from the number
776 - // of rows the query returned, so report it even when nothing is emitted.
777 - $this->last_page_row_count = count($post_ids);
778 -
779 - $records = [];
780 - foreach ($post_ids as $post_id) {
781 - $records[] = [
782 - 'object_id' => $post_id,
783 - 'object_type' => 'post',
784 - 'source_plugin' => $this->plugin_slug,
785 - 'data' => ['post_id' => $post_id],
786 - ];
787 746 }
788 747
789 748 return $records;
790 749 }