We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1e50c6e commit 7cb4261Copy full SHA for 7cb4261
inc/wp-cli.php
@@ -57,11 +57,11 @@ public function import( $args, $assoc_args ) {
57
}
58
59
if ( 'post_type' === $this->type ) {
60
- $this->data['cptui_post_import'] = $json;
+ $this->data['cptui_post_import'] = json_decode( stripslashes_deep( trim( $json ) ), true );
61
62
63
if ( 'taxonomy' === $this->type ) {
64
- $this->data['cptui_tax_import'] = $json;
+ $this->data['cptui_tax_import'] = json_decode( stripslashes_deep( trim( $json ) ), true );
65
66
67
$result = cptui_import_types_taxes_settings( $this->data );
0 commit comments