Custom Post Type UI - Version 1.3.3

Version Description

  • 2016-4-5 =
  • Revert Changes for ajax/heartbeat API requests before post type registration. 3rd party or other plugins were breaking because post types were not registered.
Download this release

Release Info

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

Code changes from version 1.3.2 to 1.3.3

Files changed (2) hide show
  1. custom-post-type-ui.php +3 -13
  2. readme.txt +12 -6
custom-post-type-ui.php CHANGED
@@ -13,7 +13,7 @@ Plugin Name: Custom Post Type UI
13
  Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
14
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
15
  Author: WebDevStudios
16
- Version: 1.3.2
17
  Author URI: https://webdevstudios.com/
18
  Text Domain: custom-post-type-ui
19
  Domain Path: /languages
@@ -25,8 +25,8 @@ if ( ! defined( 'ABSPATH' ) ) {
25
  exit;
26
  }
27
 
28
- define( 'CPT_VERSION', '1.3.2' ); // Left for legacy purposes.
29
- define( 'CPTUI_VERSION', '1.3.2' );
30
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
31
 
32
  /**
@@ -192,11 +192,6 @@ add_action( 'admin_enqueue_scripts', 'cptui_add_styles' );
192
  * @internal
193
  */
194
  function cptui_create_custom_post_types() {
195
-
196
- if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
197
- return;
198
- }
199
-
200
  $cpts = get_option( 'cptui_post_types' );
201
 
202
  if ( empty( $cpts ) ) {
@@ -405,11 +400,6 @@ function cptui_register_single_post_type( $post_type = array() ) {
405
  * @internal
406
  */
407
  function cptui_create_custom_taxonomies() {
408
-
409
- if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
410
- return;
411
- }
412
-
413
  $taxes = get_option( 'cptui_taxonomies' );
414
 
415
  if ( empty( $taxes ) ) {
13
  Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
14
  Description: Admin panel for creating custom post types and custom taxonomies in WordPress
15
  Author: WebDevStudios
16
+ Version: 1.3.3
17
  Author URI: https://webdevstudios.com/
18
  Text Domain: custom-post-type-ui
19
  Domain Path: /languages
25
  exit;
26
  }
27
 
28
+ define( 'CPT_VERSION', '1.3.3' ); // Left for legacy purposes.
29
+ define( 'CPTUI_VERSION', '1.3.3' );
30
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
31
 
32
  /**
192
  * @internal
193
  */
194
  function cptui_create_custom_post_types() {
 
 
 
 
 
195
  $cpts = get_option( 'cptui_post_types' );
196
 
197
  if ( empty( $cpts ) ) {
400
  * @internal
401
  */
402
  function cptui_create_custom_taxonomies() {
 
 
 
 
 
403
  $taxes = get_option( 'cptui_taxonomies' );
404
 
405
  if ( empty( $taxes ) ) {
readme.txt CHANGED
@@ -4,18 +4,18 @@ 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, cck, taxonomy, tax, custom
5
  Requires at least: 4.2
6
  Tested up to: 4.5
7
- Stable tag: 1.3.2
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
11
 
12
  == Description ==
13
 
14
- This plugin provides an easy to use interface to create and administer custom post types and taxonomies in WordPress. This plugin is created for WordPress 3.x.
15
 
16
- Please note that this plugin will NOT handle display of registered post types or taxonomies in your current theme. It will simply register them for you.
17
 
18
- All official development on this plugin is on GitHub. Version bumps will still be published here on WordPress.org. You can find the repo at [https://github.com/WebDevStudios/custom-post-type-ui](https://github.com/WebDevStudios/custom-post-type-ui). Please file confirmed issues, bugs, and enhancement ideas there, when possible.
19
 
20
  == Screenshots ==
21
 
@@ -33,6 +33,9 @@ All official development on this plugin is on GitHub. Version bumps will still b
33
 
34
  == Changelog ==
35
 
 
 
 
36
  = 1.3.2 - 2016-4-5 =
37
  * Fixed: Logic issue with cptui js files loading where they weren't meant to.
38
  * Fixed: Required markers missing on required post type fields.
@@ -205,6 +208,9 @@ All official development on this plugin is on GitHub. Version bumps will still b
205
 
206
  == Upgrade Notice ==
207
 
 
 
 
208
  = 1.3.2 - 2016-4-5 =
209
  * Fixed: Logic issue with cptui js files loading where they weren't meant to.
210
  * Fixed: Required markers missing on required post type fields.
@@ -382,12 +388,12 @@ Full list:
382
 
383
  == Installation ==
384
 
385
- === Manual ===
386
  1. Upload the Custom Post Type UI folder to the plugins directory in your WordPress installation
387
  2. Activate the plugin.
388
  3. Navigate to the "CPTUI" Menu.
389
 
390
- === Admin Installer ===
391
  1. Visit the Add New plugin screen and search for "custom post type ui"
392
  2. Click the "Install Now" button.
393
  3. Activate the plugin.
4
  Tags: custom post types, CPT, CMS, post, types, post type, cck, taxonomy, tax, custom
5
  Requires at least: 4.2
6
  Tested up to: 4.5
7
+ Stable tag: 1.3.3
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
11
 
12
  == Description ==
13
 
14
+ This plugin provides an easy to use interface for creating and administrating custom post types and taxonomies in WordPress. This plugin is created for WordPress 3.0 and higher.
15
 
16
+ Please note that Custom Post Type UI alone will not display post types or taxonomies data in customized places within your site; it simply registers them for you to use. Check out [Custom Post Type UI Extended](https://pluginize.com/product/custom-post-type-ui-extended/?utm_source=cptui-wporg&utm_medium=text&utm_campaign=cptui_description) for an easy way to display post type content from any registered types on your site, including those created with Custom Post Type UI and more.
17
 
18
+ All official development on this plugin is on GitHub. New releases are still published here on WordPress.org. The version shown here should be considered the latest stable release. You can find the repo at [https://github.com/WebDevStudios/custom-post-type-ui](https://github.com/WebDevStudios/custom-post-type-ui). Please file confirmed issues, bugs, and enhancement ideas there, when possible.
19
 
20
  == Screenshots ==
21
 
33
 
34
  == Changelog ==
35
 
36
+ = 1.3.3 - 2016-4-5 =
37
+ * Revert Changes for ajax/heartbeat API requests before post type registration. 3rd party or other plugins were breaking because post types were not registered.
38
+
39
  = 1.3.2 - 2016-4-5 =
40
  * Fixed: Logic issue with cptui js files loading where they weren't meant to.
41
  * Fixed: Required markers missing on required post type fields.
208
 
209
  == Upgrade Notice ==
210
 
211
+ = 1.3.3 - 2016-4-5 =
212
+ * Revert Changes for ajax/heartbeat API requests before post type registration. 3rd party or other plugins were breaking because post types were not registered.
213
+
214
  = 1.3.2 - 2016-4-5 =
215
  * Fixed: Logic issue with cptui js files loading where they weren't meant to.
216
  * Fixed: Required markers missing on required post type fields.
388
 
389
  == Installation ==
390
 
391
+ = Manual =
392
  1. Upload the Custom Post Type UI folder to the plugins directory in your WordPress installation
393
  2. Activate the plugin.
394
  3. Navigate to the "CPTUI" Menu.
395
 
396
+ = Admin Installer =
397
  1. Visit the Add New plugin screen and search for "custom post type ui"
398
  2. Click the "Install Now" button.
399
  3. Activate the plugin.