Custom Post Type UI - Version 0.8.2

Version Description

  • Fix with_front logic issue.
Download this release

Release Info

Developer williamsba1
Plugin Icon 128x128 Custom Post Type UI
Version 0.8.2
Comparing to
See all releases

Code changes from version 0.8.1 to 0.8.2

Files changed (2) hide show
  1. custom-post-type-ui.php +3 -3
  2. readme.txt +8 -2
custom-post-type-ui.php CHANGED
@@ -4,14 +4,14 @@ Plugin Name: Custom Post Type UI
4
  Plugin URI: http://webdevstudios.com/plugin/custom-post-type-ui/
5
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
6
  Author: WebDevStudios.com
7
- Version: 0.8.1
8
  Author URI: http://webdevstudios.com/
9
  Text Domain: cpt-plugin
10
  License: GPLv2
11
  */
12
 
13
  // Define current version constant
14
- define( 'CPT_VERSION', '0.8.1' );
15
 
16
  // Define current WordPress version constant
17
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
@@ -97,7 +97,7 @@ function cpt_create_custom_post_types() {
97
  $cpt_label = ( !empty( $cpt_post_type["label"] ) ) ? esc_html( $cpt_post_type["label"] ) : esc_html( $cpt_post_type["name"] ) ;
98
  $cpt_singular = ( !empty( $cpt_post_type["singular_label"] ) ) ? esc_html( $cpt_post_type["singular_label"] ) : esc_html( $cpt_label );
99
  $cpt_rewrite_slug = ( !empty( $cpt_post_type["rewrite_slug"] ) ) ? esc_html( $cpt_post_type["rewrite_slug"] ) : esc_html( $cpt_post_type["name"] );
100
- $cpt_rewrite_withfront = ( isset( $cpt_post_type["rewrite_withfront"] ) && !empty( $cpt_post_type["rewrite_withfront"] ) ) ? esc_html( $cpt_post_type["rewrite_withfront"] ) : true;
101
  $cpt_menu_position = ( !empty( $cpt_post_type["menu_position"] ) ) ? intval( $cpt_post_type["menu_position"] ) : null; //must be null
102
  $cpt_menu_icon = ( !empty( $cpt_post_type["menu_icon"] ) ) ? esc_url( $cpt_post_type["menu_icon"] ) : null; //must be null
103
  $cpt_taxonomies = ( !empty( $cpt_post_type[1] ) ) ? $cpt_post_type[1] : array();
4
  Plugin URI: http://webdevstudios.com/plugin/custom-post-type-ui/
5
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
6
  Author: WebDevStudios.com
7
+ Version: 0.8.2
8
  Author URI: http://webdevstudios.com/
9
  Text Domain: cpt-plugin
10
  License: GPLv2
11
  */
12
 
13
  // Define current version constant
14
+ define( 'CPT_VERSION', '0.8.2' );
15
 
16
  // Define current WordPress version constant
17
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
97
  $cpt_label = ( !empty( $cpt_post_type["label"] ) ) ? esc_html( $cpt_post_type["label"] ) : esc_html( $cpt_post_type["name"] ) ;
98
  $cpt_singular = ( !empty( $cpt_post_type["singular_label"] ) ) ? esc_html( $cpt_post_type["singular_label"] ) : esc_html( $cpt_label );
99
  $cpt_rewrite_slug = ( !empty( $cpt_post_type["rewrite_slug"] ) ) ? esc_html( $cpt_post_type["rewrite_slug"] ) : esc_html( $cpt_post_type["name"] );
100
+ $cpt_rewrite_withfront = ( !empty( $cpt_post_type["rewrite_withfront"] ) ) ? true : get_disp_boolean( $cpt_post_type["rewrite_withfront"] ); //reversed because false is empty
101
  $cpt_menu_position = ( !empty( $cpt_post_type["menu_position"] ) ) ? intval( $cpt_post_type["menu_position"] ) : null; //must be null
102
  $cpt_menu_icon = ( !empty( $cpt_post_type["menu_icon"] ) ) ? esc_url( $cpt_post_type["menu_icon"] ) : null; //must be null
103
  $cpt_taxonomies = ( !empty( $cpt_post_type[1] ) ) ? $cpt_post_type[1] : array();
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: williamsba1, tw2113, webdevstudios
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, cck, taxonomy, tax, custom
5
  Requires at least: 3.1
6
- Tested up to: 3.6
7
- Stable tag: 0.8.1
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
@@ -27,6 +27,9 @@ All official development on this plugin is on GitHub. Version bumps will still b
27
 
28
  == Changelog ==
29
 
 
 
 
30
  = 0.8.1 =
31
  * Renamed menu entry to "CPT UI".
32
  * Fixes for potential "undefined index" WP DEBUG log notices.
@@ -142,6 +145,9 @@ All official development on this plugin is on GitHub. Version bumps will still b
142
 
143
  == Upgrade Notice ==
144
 
 
 
 
145
  = 0.8.1 =
146
  * Many bug fixes and admittedly some features. Fixes the Get Code functionality primarily.
147
 
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, cck, taxonomy, tax, custom
5
  Requires at least: 3.1
6
+ Tested up to: 3.9
7
+ Stable tag: 0.8.2
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
27
 
28
  == Changelog ==
29
 
30
+ = 0.8.2 =
31
+ * Fix with_front logic issue.
32
+
33
  = 0.8.1 =
34
  * Renamed menu entry to "CPT UI".
35
  * Fixes for potential "undefined index" WP DEBUG log notices.
145
 
146
  == Upgrade Notice ==
147
 
148
+ = 0.8.2 =
149
+ * Fixes with_front logic issue that was defaulting to true.
150
+
151
  = 0.8.1 =
152
  * Many bug fixes and admittedly some features. Fixes the Get Code functionality primarily.
153