Custom Post Type UI - Version 1.7.5

Version Description

  • 2020-08-11 =
  • Updated: Addressed UI issues with WordPress 5.5.0
  • Updated: Moved required minimum WordPress version to 5.5.0
Download this release

Release Info

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

Code changes from version 1.7.4 to 1.7.5

Files changed (4) hide show
  1. custom-post-type-ui.php +3 -3
  2. inc/post-types.php +33 -21
  3. inc/taxonomies.php +33 -21
  4. readme.txt +11 -3
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.7.4
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.7.4' ); // Left for legacy purposes.
34
- define( 'CPTUI_VERSION', '1.7.4' );
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.7.5
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.7.5' ); // Left for legacy purposes.
34
+ define( 'CPTUI_VERSION', '1.7.5' );
35
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
36
 
37
  /**
inc/post-types.php CHANGED
@@ -208,13 +208,17 @@ function cptui_manage_post_types() {
208
  <div class="postbox-container">
209
  <div id="poststuff">
210
  <div class="cptui-section postbox">
211
- <button type="button" class="handlediv button-link" aria-expanded="true">
212
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
213
- <span class="toggle-indicator" aria-hidden="true"></span>
214
- </button>
215
- <h2 class="hndle">
216
- <span><?php esc_html_e( 'Basic settings', 'custom-post-type-ui' ); ?></span>
217
- </h2>
 
 
 
 
218
  <div class="inside">
219
  <div class="main">
220
  <table class="form-table cptui-table">
@@ -348,13 +352,17 @@ function cptui_manage_post_types() {
348
  </div>
349
  </div>
350
  <div class="cptui-section cptui-labels postbox">
351
- <button type="button" class="handlediv button-link" aria-expanded="true">
352
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Additional labels', 'custom-post-type-ui' ); ?></span>
353
- <span class="toggle-indicator" aria-hidden="true"></span>
354
- </button>
355
- <h2 class="hndle">
356
- <span><?php esc_html_e( 'Additional labels', 'custom-post-type-ui' ); ?></span>
357
- </h2>
 
 
 
 
358
  <div class="inside">
359
  <div class="main">
360
  <table class="form-table cptui-table">
@@ -786,13 +794,17 @@ function cptui_manage_post_types() {
786
  </div>
787
  </div>
788
  <div class="cptui-section cptui-settings postbox">
789
- <button type="button" class="handlediv button-link" aria-expanded="true">
790
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Settings', 'custom-post-type-ui' ); ?></span>
791
- <span class="toggle-indicator" aria-hidden="true"></span>
792
- </button>
793
- <h2 class="hndle">
794
- <span><?php esc_html_e( 'Settings', 'custom-post-type-ui' ); ?></span>
795
- </h2>
 
 
 
 
796
  <div class="inside">
797
  <div class="main">
798
  <table class="form-table cptui-table">
208
  <div class="postbox-container">
209
  <div id="poststuff">
210
  <div class="cptui-section postbox">
211
+ <div class="postbox-header">
212
+ <h2 class="hndle ui-sortable-handle">
213
+ <span><?php esc_html_e( 'Basic settings', 'custom-post-type-ui' ); ?></span>
214
+ </h2>
215
+ <div class="handle-actions hide-if-no-js">
216
+ <button type="button" class="handlediv" aria-expanded="true">
217
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
218
+ <span class="toggle-indicator" aria-hidden="true"></span>
219
+ </button>
220
+ </div>
221
+ </div>
222
  <div class="inside">
223
  <div class="main">
224
  <table class="form-table cptui-table">
352
  </div>
353
  </div>
354
  <div class="cptui-section cptui-labels postbox">
355
+ <div class="postbox-header">
356
+ <h2 class="hndle ui-sortable-handle">
357
+ <span><?php esc_html_e( 'Additional labels', 'custom-post-type-ui' ); ?></span>
358
+ </h2>
359
+ <div class="handle-actions hide-if-no-js">
360
+ <button type="button" class="handlediv" aria-expanded="true">
361
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
362
+ <span class="toggle-indicator" aria-hidden="true"></span>
363
+ </button>
364
+ </div>
365
+ </div>
366
  <div class="inside">
367
  <div class="main">
368
  <table class="form-table cptui-table">
794
  </div>
795
  </div>
796
  <div class="cptui-section cptui-settings postbox">
797
+ <div class="postbox-header">
798
+ <h2 class="hndle ui-sortable-handle">
799
+ <span><?php esc_html_e( 'Settings', 'custom-post-type-ui' ); ?></span>
800
+ </h2>
801
+ <div class="handle-actions hide-if-no-js">
802
+ <button type="button" class="handlediv" aria-expanded="true">
803
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
804
+ <span class="toggle-indicator" aria-hidden="true"></span>
805
+ </button>
806
+ </div>
807
+ </div>
808
  <div class="inside">
809
  <div class="main">
810
  <table class="form-table cptui-table">
inc/taxonomies.php CHANGED
@@ -216,13 +216,17 @@ function cptui_manage_taxonomies() {
216
  <div class="postbox-container">
217
  <div id="poststuff">
218
  <div class="cptui-section postbox">
219
- <button type="button" class="handlediv button-link" aria-expanded="true">
220
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
221
- <span class="toggle-indicator" aria-hidden="true"></span>
222
- </button>
223
- <h2 class="hndle">
224
- <span><?php esc_html_e( 'Basic settings', 'custom-post-type-ui' ); ?></span>
225
- </h2>
 
 
 
 
226
  <div class="inside">
227
  <div class="main">
228
  <table class="form-table cptui-table">
@@ -410,13 +414,17 @@ function cptui_manage_taxonomies() {
410
  </div>
411
  </div>
412
  <div class="cptui-section cptui-labels postbox">
413
- <button type="button" class="handlediv button-link" aria-expanded="true">
414
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Additional labels', 'custom-post-type-ui' ); ?></span>
415
- <span class="toggle-indicator" aria-hidden="true"></span>
416
- </button>
417
- <h2 class="hndle">
418
- <span><?php esc_html_e( 'Additional labels', 'custom-post-type-ui' ); ?></span>
419
- </h2>
 
 
 
 
420
  <div class="inside">
421
  <div class="main">
422
  <table class="form-table cptui-table">
@@ -691,13 +699,17 @@ function cptui_manage_taxonomies() {
691
  </div>
692
  </div>
693
  <div class="cptui-section cptui-settings postbox">
694
- <button type="button" class="handlediv button-link" aria-expanded="true">
695
- <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Settings', 'custom-post-type-ui' ); ?></span>
696
- <span class="toggle-indicator" aria-hidden="true"></span>
697
- </button>
698
- <h2 class="hndle">
699
- <span><?php esc_html_e( 'Settings', 'custom-post-type-ui' ); ?></span>
700
- </h2>
 
 
 
 
701
  <div class="inside">
702
  <div class="main">
703
  <table class="form-table cptui-table">
216
  <div class="postbox-container">
217
  <div id="poststuff">
218
  <div class="cptui-section postbox">
219
+ <div class="postbox-header">
220
+ <h2 class="hndle ui-sortable-handle">
221
+ <span><?php esc_html_e( 'Basic settings', 'custom-post-type-ui' ); ?></span>
222
+ </h2>
223
+ <div class="handle-actions hide-if-no-js">
224
+ <button type="button" class="handlediv" aria-expanded="true">
225
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Basic settings', 'custom-post-type-ui' ); ?></span>
226
+ <span class="toggle-indicator" aria-hidden="true"></span>
227
+ </button>
228
+ </div>
229
+ </div>
230
  <div class="inside">
231
  <div class="main">
232
  <table class="form-table cptui-table">
414
  </div>
415
  </div>
416
  <div class="cptui-section cptui-labels postbox">
417
+ <div class="postbox-header">
418
+ <h2 class="hndle ui-sortable-handle">
419
+ <span><?php esc_html_e( 'Additional labels', 'custom-post-type-ui' ); ?></span>
420
+ </h2>
421
+ <div class="handle-actions hide-if-no-js">
422
+ <button type="button" class="handlediv" aria-expanded="true">
423
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Additional labels', 'custom-post-type-ui' ); ?></span>
424
+ <span class="toggle-indicator" aria-hidden="true"></span>
425
+ </button>
426
+ </div>
427
+ </div>
428
  <div class="inside">
429
  <div class="main">
430
  <table class="form-table cptui-table">
699
  </div>
700
  </div>
701
  <div class="cptui-section cptui-settings postbox">
702
+ <div class="postbox-header">
703
+ <h2 class="hndle ui-sortable-handle">
704
+ <span><?php esc_html_e( 'Settings', 'custom-post-type-ui' ); ?></span>
705
+ </h2>
706
+ <div class="handle-actions hide-if-no-js">
707
+ <button type="button" class="handlediv" aria-expanded="true">
708
+ <span class="screen-reader-text"><?php esc_html_e( 'Toggle panel: Settings', 'custom-post-type-ui' ); ?></span>
709
+ <span class="toggle-indicator" aria-hidden="true"></span>
710
+ </button>
711
+ </div>
712
+ </div>
713
  <div class="inside">
714
  <div class="main">
715
  <table class="form-table cptui-table">
readme.txt CHANGED
@@ -2,9 +2,9 @@
2
  Contributors: webdevstudios, pluginize, tw2113, vegasgeek, modemlooper, williamsba1
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: 5.2
6
- Tested up to: 5.4.0
7
- Stable tag: 1.7.4
8
  License: GPL-2.0+
9
  Requires PHP: 5.6
10
 
@@ -31,6 +31,10 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
31
 
32
  == Changelog ==
33
 
 
 
 
 
34
  = 1.7.4 - 2020-03-17 =
35
  * Added: Nonce admin verification for import functionality.
36
  * Added: Extra escaping of markup and output for "Get Code" areas.
@@ -102,6 +106,10 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
102
 
103
  == Upgrade Notice ==
104
 
 
 
 
 
105
  = 1.7.4 - 2020-03-17 =
106
  * Added: Nonce admin verification for import functionality.
107
  * Added: Extra escaping of markup and output for "Get Code" areas.
2
  Contributors: webdevstudios, pluginize, tw2113, vegasgeek, modemlooper, williamsba1
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: 5.5
6
+ Tested up to: 5.5.0
7
+ Stable tag: 1.7.5
8
  License: GPL-2.0+
9
  Requires PHP: 5.6
10
 
31
 
32
  == Changelog ==
33
 
34
+ = 1.7.5 - 2020-08-11 =
35
+ * Updated: Addressed UI issues with WordPress 5.5.0
36
+ * Updated: Moved required minimum WordPress version to 5.5.0
37
+
38
  = 1.7.4 - 2020-03-17 =
39
  * Added: Nonce admin verification for import functionality.
40
  * Added: Extra escaping of markup and output for "Get Code" areas.
106
 
107
  == Upgrade Notice ==
108
 
109
+ = 1.7.5 - 2020-08-11 =
110
+ * Updated: Addressed UI issues with WordPress 5.5.0
111
+ * Updated: Moved required minimum WordPress version to 5.5.0
112
+
113
  = 1.7.4 - 2020-03-17 =
114
  * Added: Nonce admin verification for import functionality.
115
  * Added: Extra escaping of markup and output for "Get Code" areas.