← All changes
|
includes/admin/importers/class-thinkrank-exporter.php
+8
-4
2.4.0
→
2.14.1
View file →
| @@ -66,8 +66,11 @@ | ||
| 66 | 66 | 'thinkrank_instant_indexing_settings', |
| 67 | 67 | 'thinkrank_image_seo_settings', |
| 68 | 68 | 'thinkrank_email_report_settings', |
| 69 | 69 | 'thinkrank_author_archives_settings', |
| 70 | + // Thin content thresholds (#565). Saved by Thin_Content, not Settings, | |
| 71 | + // so without this an Export/Restore round trip dropped them. | |
| 72 | + 'thinkrank_thin_content_settings', | |
| 70 | 73 | ]; |
| 71 | 74 | |
| 72 | 75 | /** |
| 73 | 76 | * Data types the free plugin exports itself. |
| @@ -75,10 +78,11 @@ | ||
| 75 | 78 | private const CORE_TYPES = ['postmeta', 'termmeta', 'usermeta', 'settings']; |
| 76 | 79 | |
| 77 | 80 | /** |
| 78 | 81 | * Secrets that are NOT in Settings::$encrypted_keys but must never reach an |
| 79 | - * export file either: the Brand Visibility per-platform API keys, which are | |
| 80 | - * stored as plain settings today. | |
| 82 | + * export file either: the per-platform API keys of the removed Brand | |
| 83 | + * Visibility feature. They were stored as plain options, and a site that | |
| 84 | + * used the feature still has them, so the exclusion outlives the feature. | |
| 81 | 85 | * |
| 82 | 86 | * The encrypted keys themselves come from Settings::get_encrypted_keys() so |
| 83 | 87 | * this list cannot drift from that one. |
| 84 | 88 | */ |
| @@ -137,10 +141,10 @@ | ||
| 137 | 141 | |
| 138 | 142 | /** |
| 139 | 143 | * Every type a ThinkRank export can carry. |
| 140 | 144 | * |
| 141 | - * Pro's data lives in its own tables (redirections, 404 logs, rank tracker, | |
| 142 | - * Brand Visibility runs), which the free plugin cannot read. Rather than | |
| 145 | + * Pro's data lives in its own tables (redirections, 404 logs, rank tracker), | |
| 146 | + * which the free plugin cannot read. Rather than | |
| 143 | 147 | * leaving Pro users with a half-export, Pro registers its types here and |
| 144 | 148 | * supplies the records through `thinkrank_export_records`; the restore side |
| 145 | 149 | * hands them back through `thinkrank_restore_records`. Free ships the seam |
| 146 | 150 | * so Pro is not blocked on a follow-up release. |