Custom Post Type UI - Version 1.5.6

Version Description

  • 2017-11-09 =
  • Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
  • Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for for the admin notice.
Download this release

Release Info

Developer tw2113
Plugin Icon 128x128 Custom Post Type UI
Version 1.5.6
Comparing to
See all releases

Code changes from version 1.5.5 to 1.5.6

custom-post-type-ui.php CHANGED
@@ -15,7 +15,7 @@ Plugin Name: Custom Post Type UI
15
  Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
16
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
17
  Author: WebDevStudios
18
- Version: 1.5.5
19
  Author URI: https://webdevstudios.com/
20
  Text Domain: custom-post-type-ui
21
  Domain Path: /languages
@@ -27,8 +27,8 @@ if ( ! defined( 'ABSPATH' ) ) {
27
  exit;
28
  }
29
 
30
- define( 'CPT_VERSION', '1.5.5' ); // Left for legacy purposes.
31
- define( 'CPTUI_VERSION', '1.5.5' );
32
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
33
 
34
  /**
15
  Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
16
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
17
  Author: WebDevStudios
18
+ Version: 1.5.6
19
  Author URI: https://webdevstudios.com/
20
  Text Domain: custom-post-type-ui
21
  Domain Path: /languages
27
  exit;
28
  }
29
 
30
+ define( 'CPT_VERSION', '1.5.6' ); // Left for legacy purposes.
31
+ define( 'CPTUI_VERSION', '1.5.6' );
32
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
33
 
34
  /**
inc/post-types.php CHANGED
@@ -1502,6 +1502,10 @@ function cptui_reserved_post_types() {
1502
  'order',
1503
  'theme',
1504
  'fields',
 
 
 
 
1505
  );
1506
 
1507
  /**
1502
  'order',
1503
  'theme',
1504
  'fields',
1505
+ 'custom_css',
1506
+ 'customize_changeset',
1507
+ 'author',
1508
+ 'post_type',
1509
  );
1510
 
1511
  /**
inc/utility.php CHANGED
@@ -591,7 +591,8 @@ function cptui_import_success_admin_notice() {
591
  */
592
  function cptui_import_fail_admin_notice() {
593
  echo cptui_admin_notices_helper(
594
- esc_html__( 'Invalid data provided', 'custom-post-type-ui' )
 
595
  );
596
  }
597
 
591
  */
592
  function cptui_import_fail_admin_notice() {
593
  echo cptui_admin_notices_helper(
594
+ esc_html__( 'Invalid data provided', 'custom-post-type-ui' ),
595
+ false
596
  );
597
  }
598
 
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webdevstudios, pluginize, tw2113, vegasgeek, modemlooper, williams
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
4
  Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types
5
  Requires at least: 4.6
6
- Tested up to: 4.8.0
7
- Stable tag: 1.5.5
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies for WordPress
@@ -30,7 +30,9 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
30
 
31
  == Changelog ==
32
 
33
- See changelog.txt for older changes.
 
 
34
 
35
  = 1.5.5 - 2017-07-27 =
36
  * Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
@@ -108,6 +110,10 @@ See changelog.txt for older changes.
108
 
109
  == Upgrade Notice ==
110
 
 
 
 
 
111
  = 1.5.5 - 2017-07-27 =
112
  * Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
113
  * Fixed: Better accommodate possible labels with apostrophes, in relation to "Get code" functionality.
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
4
  Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types
5
  Requires at least: 4.6
6
+ Tested up to: 4.9.0
7
+ Stable tag: 1.5.6
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies for WordPress
30
 
31
  == Changelog ==
32
 
33
+ = 1.5.6 - 2017-11-09 =
34
+ * Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
35
+ * Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for for the admin notice.
36
 
37
  = 1.5.5 - 2017-07-27 =
38
  * Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
110
 
111
  == Upgrade Notice ==
112
 
113
+ = 1.5.6 - 2017-11-09 =
114
+ * Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
115
+ * Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for for the admin notice.
116
+
117
  = 1.5.5 - 2017-07-27 =
118
  * Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
119
  * Fixed: Better accommodate possible labels with apostrophes, in relation to "Get code" functionality.