Custom Post Type UI - Version 1.5.7

Version Description

  • 2018-03-07 =
  • Added: "output" added to blacklisted taxonomy slug list.
  • Fixed: Prevent potential fatal error with customized links in plugin list page.
  • Updated: Text at top of help area and readme description to promote available layouts in CPTUI-Extended.
  • Updated: Things have been tested on the latest WordPress. You're in good hands.
Download this release

Release Info

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

Code changes from version 1.5.6 to 1.5.7

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.6
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.6' ); // Left for legacy purposes.
31
- define( 'CPTUI_VERSION', '1.5.6' );
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.7
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.7' ); // Left for legacy purposes.
31
+ define( 'CPTUI_VERSION', '1.5.7' );
32
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
33
 
34
  /**
inc/support.php CHANGED
@@ -57,10 +57,11 @@ function cptui_support() {
57
 
58
  <p>
59
  <?php printf(
60
- esc_html__( 'Please note that %s this plugin will not handle display %s of registered post types or taxonomies in your current theme. It simply registers them for you. To display your data, check out %s. If all else fails, visit us on the %s', 'custom-post-type-ui' ),
61
  '<strong>',
62
  '</strong>',
63
- '<a href="https://pluginize.com/plugins/custom-post-type-ui-extended/?utm_source=faq&utm_medium=text&utm_campaign=cptui">' . esc_html__( 'CPTUI Extended' ) . '</a>',
 
64
  '<a href="https://www.wordpress.org/support/plugin/custom-post-type-ui/">' . esc_html__( 'Support Forums', 'custom-post-type-ui' ) . '</a>'
65
  ); ?></p>
66
 
57
 
58
  <p>
59
  <?php printf(
60
+ esc_html__( 'Please note that %s this plugin will not handle display %s of registered post types or taxonomies in your current theme. It simply registers them for you. To display your data, check out %s. %s to see some examples that are available with Custom Post Type UI Extended. If all else fails, visit us on the %s', 'custom-post-type-ui' ),
61
  '<strong>',
62
  '</strong>',
63
+ '<a href="https://pluginize.com/plugins/custom-post-type-ui-extended/?utm_source=faq&utm_medium=text&utm_campaign=cptui">' . esc_html__( 'CPTUI Extended', 'custom-post-type-ui' ) . '</a>',
64
+ '<a href="https://pluginize.com/cpt-ui-extended-features/?utm_source=faq-layouts&utm_medium=text&utm_campaign=cptui">' . esc_html__( 'View our Layouts page', 'custom-post-type-ui' ) . '</a>',
65
  '<a href="https://www.wordpress.org/support/plugin/custom-post-type-ui/">' . esc_html__( 'Support Forums', 'custom-post-type-ui' ) . '</a>'
66
  ); ?></p>
67
 
inc/taxonomies.php CHANGED
@@ -1312,6 +1312,7 @@ function cptui_reserved_taxonomies() {
1312
  'withcomments',
1313
  'withoutcomments',
1314
  'year',
 
1315
  );
1316
 
1317
  /**
1312
  'withcomments',
1313
  'withoutcomments',
1314
  'year',
1315
+ 'output',
1316
  );
1317
 
1318
  /**
inc/utility.php CHANGED
@@ -24,8 +24,11 @@ if ( ! defined( 'ABSPATH' ) ) {
24
  * @return array Amended array of links.
25
  */
26
  function cptui_edit_plugin_list_links( $links ) {
27
- // We shouldn't encourage editing our plugin directly.
28
- unset( $links['edit'] );
 
 
 
29
 
30
  // Add our custom links to the returned array value.
31
  return array_merge( array(
24
  * @return array Amended array of links.
25
  */
26
  function cptui_edit_plugin_list_links( $links ) {
27
+
28
+ if ( is_array( $links ) && isset( $links['edit'] ) ) {
29
+ // We shouldn't encourage editing our plugin directly.
30
+ unset( $links['edit'] );
31
+ }
32
 
33
  // Add our custom links to the returned array value.
34
  return array_merge( array(
readme.txt CHANGED
@@ -3,9 +3,10 @@ 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.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
11
 
@@ -13,7 +14,7 @@ Admin UI for creating custom post types and custom taxonomies for WordPress
13
 
14
  Custom Post Type UI provides an easy to use interface for registering and managing custom post types and taxonomies for your website.
15
 
16
- CPTUI alone does not handle aspects related to the display of post type or taxonomy content. Its goal is simply the registration of both. For help with content display, please check out [Custom Post Type UI Extended](https://pluginize.com/product/custom-post-type-ui-extended/?utm_source=cptui-desription&utm_medium=text&utm_campaign=wporg). CPTUI-Extended provides tools intended to help display content from all registered types in your site.
17
 
18
  Official development of Custom Post Type UI is on GitHub, with official stable releases published on WordPress.org. The GitHub repo can be found at [https://github.com/WebDevStudios/custom-post-type-ui](https://github.com/WebDevStudios/custom-post-type-ui). Please use the Support tab for potential bugs, issues, or enhancement ideas.
19
 
@@ -30,6 +31,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
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.
@@ -110,6 +117,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
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.
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.4
7
+ Stable tag: 1.5.7
8
+ License: GPL-2.0+
9
+ Requires PHP: 5.2
10
 
11
  Admin UI for creating custom post types and custom taxonomies for WordPress
12
 
14
 
15
  Custom Post Type UI provides an easy to use interface for registering and managing custom post types and taxonomies for your website.
16
 
17
+ While CPTUI helps solve the problem of creating custom post types, displaying the data gleaned from them can be a whole new challenge. That’s why we created [Custom Post Type UI Extended](https://pluginize.com/product/custom-post-type-ui-extended/?utm_source=cptui-desription&utm_medium=text&utm_campaign=wporg). [View our Layouts page](https://pluginize.com/cpt-ui-extended-features/?utm_source=cptui-description-examples&utm_medium=text&utm_campaign=wporg) to see some examples that are available with Custom Post Type UI Extended.
18
 
19
  Official development of Custom Post Type UI is on GitHub, with official stable releases published on WordPress.org. The GitHub repo can be found at [https://github.com/WebDevStudios/custom-post-type-ui](https://github.com/WebDevStudios/custom-post-type-ui). Please use the Support tab for potential bugs, issues, or enhancement ideas.
20
 
31
 
32
  == Changelog ==
33
 
34
+ = 1.5.7 - 2018-03-07 =
35
+ * Added: "output" added to blacklisted taxonomy slug list.
36
+ * Fixed: Prevent potential fatal error with customized links in plugin list page.
37
+ * Updated: Text at top of help area and readme description to promote available layouts in CPTUI-Extended.
38
+ * Updated: Things have been tested on the latest WordPress. You're in good hands.
39
+
40
  = 1.5.6 - 2017-11-09 =
41
  * Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
42
  * Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for for the admin notice.
117
 
118
  == Upgrade Notice ==
119
 
120
+ = 1.5.7 - 2018-03-07 =
121
+ * Added: "output" added to blacklisted taxonomy slug list.
122
+ * Fixed: Prevent potential fatal error with customized links in plugin list page.
123
+ * Updated: Text at top of help area and readme description to promote available layouts in CPTUI-Extended.
124
+ * Updated: Things have been tested on the latest WordPress. You're in good hands.
125
+
126
  = 1.5.6 - 2017-11-09 =
127
  * Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
128
  * Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for for the admin notice.