PluginProbe
Import WP – CSV & XML Import Export for WordPress / 2.15.0
Import WP – CSV & XML Import Export for WordPress v2.15.0
2.15.1 2.15.0 2.14.24 2.14.23 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.9.0 2.9.1 All 144 releases
← All changes | class/Common/Importer/ImporterManager.php +0 -11 2.15.1 → 2.15.0 View file →
@@ -25,9 +25,8 @@
25 25 use ImportWP\Common\Importer\Template\Template;
26 26 use ImportWP\Common\Importer\Template\TemplateManager;
27 27 use ImportWP\Common\Importer\Template\TermTemplate;
28 28 use ImportWP\Common\Importer\Template\UserTemplate;
29 -use ImportWP\Common\Migration\Migrations;
30 29 use ImportWP\Common\Model\ImporterModel;
31 30 use ImportWP\Common\Properties\Properties;
32 31 use ImportWP\Common\Runner\ImporterRunnerState;
33 32 use ImportWP\Common\Util\Logger;
@@ -683,18 +682,8 @@
683 682
684 683 public function import($id, $user, $session = null)
685 684 {
686 685 Logger::timer();
687 -
688 - // Run pending DB/data migrations before loading importer config so cron,
689 - // CLI, and REST imports do not depend on the admin setup wizard.
690 - $migrations = new Migrations();
691 - if (!$migrations->isSetup()) {
692 - $migrations->migrate();
693 - if ($id instanceof ImporterModel) {
694 - $id = $id->getId();
695 - }
696 - }
697 686
698 687 $importer_data = $this->get_importer($id);
699 688 $importer_id = $importer_data->getId();
700 689