Version Description
- 2022-05-16 =
- Fixed: JSON decoding issues around WP-CLI import.
Download this release
Release Info
Developer | tw2113 |
Plugin | Custom Post Type UI |
Version | 1.12.1 |
Comparing to | |
See all releases |
Code changes from version 1.12.0 to 1.12.1
- custom-post-type-ui.php +3 -3
- inc/wp-cli.php +2 -2
- readme.txt +7 -1
custom-post-type-ui.php
CHANGED
@@ -16,7 +16,7 @@
|
|
16 |
* Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
|
17 |
* Description: Admin panel for creating custom post types and custom taxonomies in WordPress
|
18 |
* Author: WebDevStudios
|
19 |
-
* Version: 1.12.
|
20 |
* Author URI: https://webdevstudios.com/
|
21 |
* Text Domain: custom-post-type-ui
|
22 |
* Domain Path: /languages
|
@@ -30,8 +30,8 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
30 |
exit;
|
31 |
}
|
32 |
|
33 |
-
define( 'CPT_VERSION', '1.12.
|
34 |
-
define( 'CPTUI_VERSION', '1.12.
|
35 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
36 |
|
37 |
/**
|
16 |
* Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
|
17 |
* Description: Admin panel for creating custom post types and custom taxonomies in WordPress
|
18 |
* Author: WebDevStudios
|
19 |
+
* Version: 1.12.1
|
20 |
* Author URI: https://webdevstudios.com/
|
21 |
* Text Domain: custom-post-type-ui
|
22 |
* Domain Path: /languages
|
30 |
exit;
|
31 |
}
|
32 |
|
33 |
+
define( 'CPT_VERSION', '1.12.1' ); // Left for legacy purposes.
|
34 |
+
define( 'CPTUI_VERSION', '1.12.1' );
|
35 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
36 |
|
37 |
/**
|
inc/wp-cli.php
CHANGED
@@ -57,11 +57,11 @@ class CPTUI_Import_JSON extends WP_CLI_Command {
|
|
57 |
}
|
58 |
|
59 |
if ( 'post_type' === $this->type ) {
|
60 |
-
$this->data['cptui_post_import'] = $json;
|
61 |
}
|
62 |
|
63 |
if ( 'taxonomy' === $this->type ) {
|
64 |
-
$this->data['cptui_tax_import'] = $json;
|
65 |
}
|
66 |
|
67 |
$result = cptui_import_types_taxes_settings( $this->data );
|
57 |
}
|
58 |
|
59 |
if ( 'post_type' === $this->type ) {
|
60 |
+
$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_decode( stripslashes_deep( trim( $json ) ), true );
|
65 |
}
|
66 |
|
67 |
$result = cptui_import_types_taxes_settings( $this->data );
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_i
|
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types
|
5 |
Requires at least: 5.9
|
6 |
Tested up to: 6.0
|
7 |
-
Stable tag: 1.12.
|
8 |
License: GPL-2.0+
|
9 |
Requires PHP: 5.6
|
10 |
|
@@ -36,6 +36,9 @@ Custom Post Type UI development is managed on GitHub, with official releases pub
|
|
36 |
|
37 |
== Changelog ==
|
38 |
|
|
|
|
|
|
|
39 |
= 1.12.0 - 2022-05-09 =
|
40 |
* Added: Tested on WordPress 6.0.
|
41 |
* Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
|
@@ -78,6 +81,9 @@ Custom Post Type UI development is managed on GitHub, with official releases pub
|
|
78 |
|
79 |
== Upgrade Notice ==
|
80 |
|
|
|
|
|
|
|
81 |
= 1.12.0 - 2022-05-09 =
|
82 |
* Added: Tested on WordPress 6.0.
|
83 |
* Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
|
4 |
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types
|
5 |
Requires at least: 5.9
|
6 |
Tested up to: 6.0
|
7 |
+
Stable tag: 1.12.1
|
8 |
License: GPL-2.0+
|
9 |
Requires PHP: 5.6
|
10 |
|
36 |
|
37 |
== Changelog ==
|
38 |
|
39 |
+
= 1.12.1 - 2022-05-16 =
|
40 |
+
* Fixed: JSON decoding issues around WP-CLI import.
|
41 |
+
|
42 |
= 1.12.0 - 2022-05-09 =
|
43 |
* Added: Tested on WordPress 6.0.
|
44 |
* Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
|
81 |
|
82 |
== Upgrade Notice ==
|
83 |
|
84 |
+
= 1.12.1 - 2022-05-16 =
|
85 |
+
* Fixed: JSON decoding issues around WP-CLI import.
|
86 |
+
|
87 |
= 1.12.0 - 2022-05-09 =
|
88 |
* Added: Tested on WordPress 6.0.
|
89 |
* Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
|