From 5af572286a42cc519ea19809589978aa1311390b Mon Sep 17 00:00:00 2001 From: Francesco Bigiarini Date: Thu, 28 Nov 2024 13:25:30 +0100 Subject: [PATCH] Add a TODO --- .../playground/data-liberation/src/cli/WP_Import_Command.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/playground/data-liberation/src/cli/WP_Import_Command.php b/packages/playground/data-liberation/src/cli/WP_Import_Command.php index fe49ced08e..e7f12b08a4 100644 --- a/packages/playground/data-liberation/src/cli/WP_Import_Command.php +++ b/packages/playground/data-liberation/src/cli/WP_Import_Command.php @@ -29,6 +29,9 @@ class WP_Import_Command { */ private $importer = null; + /** + * @var string $wxr_path The path to the WXR file. + */ private $wxr_path = ''; /** @@ -129,6 +132,7 @@ private function import_wxr() { WP_CLI::line( "Importing {$this->wxr_path}" ); if ( $this->dry_run ) { + // @TODO: do something with the dry run. WP_CLI::line( 'Dry run enabled.' ); } else { while ( $this->importer->next_step() ) {