We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 826ec64 commit 5af5722Copy full SHA for 5af5722
packages/playground/data-liberation/src/cli/WP_Import_Command.php
@@ -29,6 +29,9 @@ class WP_Import_Command {
29
*/
30
private $importer = null;
31
32
+ /**
33
+ * @var string $wxr_path The path to the WXR file.
34
+ */
35
private $wxr_path = '';
36
37
/**
@@ -129,6 +132,7 @@ private function import_wxr() {
129
132
WP_CLI::line( "Importing {$this->wxr_path}" );
130
133
131
134
if ( $this->dry_run ) {
135
+ // @TODO: do something with the dry run.
136
WP_CLI::line( 'Dry run enabled.' );
137
} else {
138
while ( $this->importer->next_step() ) {
0 commit comments