Custom Post Type UI - Version 1.3.5

Version Description

  • 2016-6-3 =
  • Removed undefined index error for publicly_queryable in "Get Code" area. That parameter is targeted for 1.4.0 release.
Download this release

Release Info

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

Code changes from version 1.3.4 to 1.3.5

Files changed (4) hide show
  1. changelog.txt +94 -0
  2. custom-post-type-ui.php +3 -3
  3. inc/import_export.php +0 -1
  4. readme.txt +9 -200
changelog.txt ADDED
@@ -0,0 +1,94 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ = 1.1.3 - 2015-12-23 =
2
+ * Bumping WordPress compatibility version only. No other changes involved.
3
+
4
+ = 1.1.2 - 2015-08-11 =
5
+ * Change export value to plural label for taxonomies.
6
+ * Properly select a post type or taxonomy after deleting an existing value.
7
+ * Updated screenshots
8
+ * Added target="_blank" attribute to one of the inline help links for Menu position. Thanks @JulieKuehl
9
+ * Fixed potential XSS issue.
10
+
11
+ = 1.1.1 - 2015-06-15 =
12
+ * Re-add post type and taxonomy select buttons and only display for non-js users.
13
+
14
+ = 1.1.0 - 2015-06-12 =
15
+ * Simplified UI with regards to clicking amount.
16
+ * Auto selecting of first available post type or taxonomy in Edit tab.
17
+ * Switch to post type or taxonomy upon selection within Edit tab.
18
+ * Return of a list of CPTUI-registered post types and taxonomies.
19
+ * Post type slug update capability.
20
+ * Added function reference 3rd party link to support area.
21
+ * New hooks in edit screen for custom content display on screen.
22
+ * String updates.
23
+ * UI field option for custom "Supports" parameters from other plugins. Example: Yet Another Related Posts Plugin.
24
+ * Updated help/support section with another reference tool.
25
+ * Trim extra spaces potentially left behind in text inputs.
26
+ * Rearranged menu listing slightly to remove duplicate naming.
27
+ * GitHub repo has GitHub Updater (https://github.com/afragen/github-updater) compatible copy of CPTUI version that is available on WordPress.org
28
+
29
+ = 1.0.8 - 2015-05-01 =
30
+ * Register taxonomies at a higher priority than post types.
31
+
32
+ = 1.0.7 - 2015-04-20 =
33
+ * Preventive measures for potential XSS security issues with add_query_arg()
34
+
35
+ = 1.0.6 - 2015-04-14 =
36
+ * Change priority of post type registration function that was causing rewrite issues for many.
37
+ * Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
38
+ * Fix logic issue with PHP's empty() function and CPTUI 0.9.x saved settings.
39
+
40
+ = 1.0.5 - 2015-03-20 =
41
+ * Explicitly set the post type and taxonomy rewrite slugs as the registered slug if no custom ones provided.
42
+ * Prevent cptui.js from loading where it is not needed.
43
+ * Fixed undefined index notice for post type rewrite_withfront.
44
+ * Repopulated labels when none provided and post type or taxonomy mentioned in default label.
45
+ * Fix for import/export get code tab and hierarchical taxonomies
46
+
47
+ = 1.0.4 - 2015-03-05 =
48
+ * Fixed incorrect boolean order for hierarchical taxonomies and default value.
49
+ * Fixed missing closing div tags.
50
+ * Default menu position to null instead of empty string.
51
+ * Undefined index notice cleanup.
52
+ * Remove unnecessary hook.
53
+
54
+ = 1.0.3 - Unknown =
55
+ * Fix logic error regarding string "0" evaluating to false when checked for not empty.
56
+ * Fix for taxonomy with_front boolean value not evaluating correctly.
57
+ * Fix for taxonomy hierarchical boolean value not evaluating correctly.
58
+ * Fix for post type has_archive.
59
+ * German translation updates. If you speak/read German, myself and the translator would LOVE to have feedback on this.
60
+ * Internationalization string changes after feedback from German translation work.
61
+ * Minor issue with link html being stripped from UI field explanation.
62
+ * Better apostrophe/single quote support in label fields.
63
+
64
+ = 1.0.2 - 2015-02-12 =
65
+ * Fix issue with checked checkboxes for post type associations for taxonomies.
66
+ * Fix "Get Code" spot related to post type associations for taxonomies.
67
+ * Update some text strings after localization feedback.
68
+ * Fix typos in textdomain for two spots.
69
+ * Updating progressing translation files.
70
+ * Fix value for with_front parameter.
71
+ * Fix error in boolean type for map_meta_cap.
72
+ * Fix missing use of query_var slug if present for taxonomies.
73
+
74
+ = 1.0.1 - 2015-02-11 =
75
+ * Fix issues with taxonomy transfer and registration.
76
+ * Fix issue with taxonomy "show admin column" evaluating to true regardless of setting.
77
+ * Prefix our "help" class to prevent conflict with other plugins that use just "help".
78
+ * Fix issue with menu position values not being obeyed.
79
+ * Fix hook names inside taxonomy update function.
80
+ * Fix potentially empty parameter with taxonomies and "Get Code" output.
81
+ * Added PHP "undefined index" notice prevention for some parameters.
82
+
83
+ = 1.0.0 - 2015-02-09 =
84
+ * CPTUI has been given a new UI!
85
+ * Separated out post type and taxonomy creation to their own screens.
86
+ * Added import/export ability for post type and taxonomy settings.
87
+ * Added a Help/Support Screen.
88
+ * Added/Updated available parameters for post types and parameters.
89
+ * Updated i18n and translation files.
90
+ * Added Confirmation prompts before deleting post types and taxonomies.
91
+ * Added actions and filters for 3rd party customization.
92
+ * Added function that automatically converts 0.8.x and down settings to new setting arrangement.
93
+ * Changed how settings are stored so that post types and taxonomies are in named array indexes.
94
+ * Bug fixes not mentioned above.
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.4
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.4' ); // Left for legacy purposes.
29
- define( 'CPTUI_VERSION', '1.3.4' );
30
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
31
 
32
  /**
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.5
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.5' ); // Left for legacy purposes.
29
+ define( 'CPTUI_VERSION', '1.3.5' );
30
  define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
31
 
32
  /**
inc/import_export.php CHANGED
@@ -384,7 +384,6 @@ function cptui_get_single_post_type_registery( $post_type = array() ) {
384
  "labels" => $labels,
385
  "description" => "<?php echo $post_type['description']; ?>",
386
  "public" => <?php echo disp_boolean( $post_type['public'] ); ?>,
387
- "publicly_queryable" => <?php echo disp_boolean( $post_type['publicly_queryable'] ); ?>,
388
  "show_ui" => <?php echo disp_boolean( $post_type['show_ui'] ); ?>,
389
  "show_in_rest" => <?php echo disp_boolean( $post_type['show_in_rest'] ); ?>,
390
  "rest_base" => "<?php echo $post_type['rest_base']; ?>",
384
  "labels" => $labels,
385
  "description" => "<?php echo $post_type['description']; ?>",
386
  "public" => <?php echo disp_boolean( $post_type['public'] ); ?>,
 
387
  "show_ui" => <?php echo disp_boolean( $post_type['show_ui'] ); ?>,
388
  "show_in_rest" => <?php echo disp_boolean( $post_type['show_in_rest'] ); ?>,
389
  "rest_base" => "<?php echo $post_type['rest_base']; ?>",
readme.txt CHANGED
@@ -4,7 +4,7 @@ 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.4
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
@@ -35,6 +35,9 @@ All official development on this plugin is on GitHub. New releases are still pub
35
 
36
  == Changelog ==
37
 
 
 
 
38
  = 1.3.4 - 2016-5-4 =
39
  * Fixed: moved WDS-based services "ads" to within the plugin itself. Will not request remote resources.
40
  * Fixed: Better output formatting if WDS/Pluginize "ads" failed to load images.
@@ -120,103 +123,11 @@ All official development on this plugin is on GitHub. New releases are still pub
120
  * Fixed: Support for YARPP plugin.
121
  * Fixed: Prevent potential issues with AJAX requests and our scripts/styles
122
 
123
- = 1.1.3 - 2015-12-23 =
124
- * Bumping WordPress compatibility version only. No other changes involved.
125
-
126
- = 1.1.2 - 2015-08-11 =
127
- * Change export value to plural label for taxonomies.
128
- * Properly select a post type or taxonomy after deleting an existing value.
129
- * Updated screenshots
130
- * Added target="_blank" attribute to one of the inline help links for Menu position. Thanks @JulieKuehl
131
- * Fixed potential XSS issue.
132
-
133
- = 1.1.1 - 2015-06-15 =
134
- * Re-add post type and taxonomy select buttons and only display for non-js users.
135
-
136
- = 1.1.0 - 2015-06-12 =
137
- * Simplified UI with regards to clicking amount.
138
- * Auto selecting of first available post type or taxonomy in Edit tab.
139
- * Switch to post type or taxonomy upon selection within Edit tab.
140
- * Return of a list of CPTUI-registered post types and taxonomies.
141
- * Post type slug update capability.
142
- * Added function reference 3rd party link to support area.
143
- * New hooks in edit screen for custom content display on screen.
144
- * String updates.
145
- * UI field option for custom "Supports" parameters from other plugins. Example: Yet Another Related Posts Plugin.
146
- * Updated help/support section with another reference tool.
147
- * Trim extra spaces potentially left behind in text inputs.
148
- * Rearranged menu listing slightly to remove duplicate naming.
149
- * GitHub repo has GitHub Updater (https://github.com/afragen/github-updater) compatible copy of CPTUI version that is available on WordPress.org
150
-
151
- = 1.0.8 - 2015-05-01 =
152
- * Register taxonomies at a higher priority than post types.
153
-
154
- = 1.0.7 - 2015-04-20 =
155
- * Preventive measures for potential XSS security issues with add_query_arg()
156
-
157
- = 1.0.6 - 2015-04-14 =
158
- * Change priority of post type registration function that was causing rewrite issues for many.
159
- * Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
160
- * Fix logic issue with PHP's empty() function and CPTUI 0.9.x saved settings.
161
-
162
- = 1.0.5 - 2015-03-20 =
163
- * Explicitly set the post type and taxonomy rewrite slugs as the registered slug if no custom ones provided.
164
- * Prevent cptui.js from loading where it is not needed.
165
- * Fixed undefined index notice for post type rewrite_withfront.
166
- * Repopulated labels when none provided and post type or taxonomy mentioned in default label.
167
- * Fix for import/export get code tab and hierarchical taxonomies
168
-
169
- = 1.0.4 - 2015-03-05 =
170
- * Fixed incorrect boolean order for hierarchical taxonomies and default value.
171
- * Fixed missing closing div tags.
172
- * Default menu position to null instead of empty string.
173
- * Undefined index notice cleanup.
174
- * Remove unnecessary hook.
175
-
176
- = 1.0.3 - Unknown =
177
- * Fix logic error regarding string "0" evaluating to false when checked for not empty.
178
- * Fix for taxonomy with_front boolean value not evaluating correctly.
179
- * Fix for taxonomy hierarchical boolean value not evaluating correctly.
180
- * Fix for post type has_archive.
181
- * German translation updates. If you speak/read German, myself and the translator would LOVE to have feedback on this.
182
- * Internationalization string changes after feedback from German translation work.
183
- * Minor issue with link html being stripped from UI field explanation.
184
- * Better apostrophe/single quote support in label fields.
185
-
186
- = 1.0.2 - 2015-02-12 =
187
- * Fix issue with checked checkboxes for post type associations for taxonomies.
188
- * Fix "Get Code" spot related to post type associations for taxonomies.
189
- * Update some text strings after localization feedback.
190
- * Fix typos in textdomain for two spots.
191
- * Updating progressing translation files.
192
- * Fix value for with_front parameter.
193
- * Fix error in boolean type for map_meta_cap.
194
- * Fix missing use of query_var slug if present for taxonomies.
195
-
196
- = 1.0.1 - 2015-02-11 =
197
- * Fix issues with taxonomy transfer and registration.
198
- * Fix issue with taxonomy "show admin column" evaluating to true regardless of setting.
199
- * Prefix our "help" class to prevent conflict with other plugins that use just "help".
200
- * Fix issue with menu position values not being obeyed.
201
- * Fix hook names inside taxonomy update function.
202
- * Fix potentially empty parameter with taxonomies and "Get Code" output.
203
- * Added PHP "undefined index" notice prevention for some parameters.
204
-
205
- = 1.0.0 - 2015-02-09 =
206
- * CPTUI has been given a new UI!
207
- * Separated out post type and taxonomy creation to their own screens.
208
- * Added import/export ability for post type and taxonomy settings.
209
- * Added a Help/Support Screen.
210
- * Added/Updated available parameters for post types and parameters.
211
- * Updated i18n and translation files.
212
- * Added Confirmation prompts before deleting post types and taxonomies.
213
- * Added actions and filters for 3rd party customization.
214
- * Added function that automatically converts 0.8.x and down settings to new setting arrangement.
215
- * Changed how settings are stored so that post types and taxonomies are in named array indexes.
216
- * Bug fixes not mentioned above.
217
-
218
  == Upgrade Notice ==
219
 
 
 
 
220
  = 1.3.4 - 2016-5-4 =
221
  * Fixed: moved WDS-based services "ads" to within the plugin itself. Will not request remote resources.
222
  * Fixed: Better output formatting if WDS/Pluginize "ads" failed to load images.
@@ -302,106 +213,6 @@ All official development on this plugin is on GitHub. New releases are still pub
302
  * Fixed: Support for YARPP plugin.
303
  * Fixed: Prevent potential issues with AJAX requests and our scripts/styles
304
 
305
- = 1.1.3 =
306
- * Bumping WordPress compatibility version only. No other changes involved.
307
-
308
- = 1.1.2 =
309
- * Change export value to plural label for taxonomies.
310
- * Properly select a post type or taxonomy after deleting an existing value.
311
- * Updated screenshots
312
- * Added target="_blank" attribute to one of the inline help links for Menu position. Thanks @JulieKuehl
313
- * Fixed potential XSS issue.
314
-
315
- = 1.1.1 =
316
- * Re-add post type and taxonomy select buttons and only display for non-js users.
317
-
318
- = 1.1.0 =
319
- * Simplified UI with regards to clicking amount.
320
- * Auto selecting of first available post type or taxonomy in Edit tab.
321
- * Switch to post type or taxonomy upon selection within Edit tab.
322
- * Return of a list of CPTUI-registered post types and taxonomies.
323
- * Post type slug update capability.
324
- * Added function reference 3rd party link to support area.
325
- * New hooks in edit screen for custom content display on screen.
326
- * String updates.
327
- * UI field option for custom "Supports" parameters from other plugins. Example: Yet Another Related Posts Plugin.
328
- * Updated help/support section with another reference tool.
329
- * Trim extra spaces potentially left behind in text inputs.
330
- * Rearranged menu listing slightly to remove duplicate naming.
331
- * GitHub repo has GitHub Updater (https://github.com/afragen/github-updater) compatible copy of CPTUI version that is available on WordPress.org
332
-
333
- = 1.0.8 =
334
- * Register taxonomies at a higher priority than post types.
335
-
336
- = 1.0.7 =
337
- * Preventive measures for potential XSS security issues with add_query_arg()
338
-
339
- = 1.0.6 =
340
- * Change priority of post type registration function that was causing rewrite issues for many.
341
- * Fix issues with help text spots not showing up for some post type fields. Props pedro-mendonca.
342
- * Fix logic issue with PHP's empty() function and CPTUI 0.9.x saved settings.
343
-
344
- = 1.0.5 =
345
- * Explicitly set the post type and taxonomy rewrite slugs as the registered slug if no custom ones provided.
346
- * Prevent cptui.js from loading where it is not needed.
347
- * Fixed undefined index notice for post type rewrite_withfront.
348
- * Repopulated labels when none provided and post type or taxonomy mentioned in default label.
349
- * Fix for import/export get code tab and hierarchical taxonomies
350
-
351
- = 1.0.4 =
352
- * Fixed incorrect boolean order for hierarchical taxonomies and default value.
353
- * Fixed missing closing div tags.
354
- * Default menu position to null instead of empty string.
355
- * Undefined index notice cleanup.
356
- * Remove unnecessary hook.
357
-
358
- = 1.0.3 =
359
- * Fix logic error regarding string "0" evaluating to false when checked for not empty.
360
- * Fix for taxonomy with_front boolean value not evaluating correctly.
361
- * Fix for taxonomy hierarchical boolean value not evaluating correctly.
362
- * Fix for post type has_archive.
363
- * German translation updates. If you speak/read German, myself and the translator would LOVE to have feedback on this.
364
- * Internationalization string changes after feedback from German translation work.
365
- * Minor issue with link html being stripped from UI field explanation.
366
- * Better apostrophe/single quote support in label fields.
367
-
368
- = 1.0.2 =
369
- * PLEASE TEST THIS UPDATE ON A DEV SITE IF YOU CAN, BEFORE UPDATING ON A LIVE SITE.
370
- * Fix issue with checked checkboxes for post type associations for taxonomies.
371
- * Fix "Get Code" spot related to post type associations for taxonomies.
372
- * Update some text strings after localization feedback.
373
- * Fix typos in textdomain for two spots.
374
- * Updating progressing translation files.
375
- * Fix value for with_front parameter.
376
- * Fix error in boolean type for map_meta_cap.
377
- * Fix missing use of query_var slug if present for taxonomies.
378
-
379
- = 1.0.1 =
380
- * Fix issues with taxonomy transfer and registration. May need to delete new option value and re-convert afterwards.
381
- * Fix issue with taxonomy "show admin column" evaluating to true regardless of setting.
382
- * Prefix our "help" class to prevent conflict with other plugins that use just "help".
383
- * Fix issue with menu position values not being obeyed.
384
- * Fix hook names inside taxonomy update function.
385
- * Fix potentially empty parameter with taxonomies and "Get Code" output.
386
- * Added PHP "undefined index" notice prevention for some parameters.
387
-
388
- = 1.0.0 =
389
-
390
- This is a major upgrade. This includes a new UI and a settings conversion to new stored arangement. 0.8.x settings will not be deleted if for some reason you must revert to the previous version.
391
-
392
- Full list:
393
- * CPTUI has been given a new UI!
394
- * Separated out post type and taxonomy creation to their own screens.
395
- * Added import/export ability for post type and taxonomy settings.
396
- * Added a Help/Support Screen.
397
- * Added/Updated available parameters for post types and parameters.
398
- * Updated i18n and translation files.
399
- * Added Confirmation prompts before deleting post types and taxonomies.
400
- * Added actions and filters for 3rd party customization.
401
- * Added function that automatically converts 0.8.x and down settings to new setting arrangement.
402
- * Changed how settings are stored so that post types and taxonomies are in named array indexes.
403
- * Bug fixes not mentioned above.
404
-
405
  == Installation ==
406
 
407
  = Manual =
@@ -419,11 +230,9 @@ That's it! Now you can easily start creating custom post types and taxonomies in
419
 
420
  == Frequently Asked Questions ==
421
 
422
- Please see the Help/Support section for FAQs and start a new thread on the support forums for Custom Post Type UI if none of those answer your question.
 
423
 
424
  == Other Notes ==
425
 
426
  Import/Export functionality amended from original contribution by [Ben Allfree](http://wordpress.org/support/profile/benallfree).
427
-
428
- = Outside contributors that we wish to thank =
429
- [brandondove](https://github.com/brandondove)
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.5
8
  License: GPLv2
9
 
10
  Admin UI for creating custom post types and custom taxonomies in WordPress
35
 
36
  == Changelog ==
37
 
38
+ = 1.3.5 - 2016-6-3 =
39
+ * Removed undefined index error for publicly_queryable in "Get Code" area. That parameter is targeted for 1.4.0 release.
40
+
41
  = 1.3.4 - 2016-5-4 =
42
  * Fixed: moved WDS-based services "ads" to within the plugin itself. Will not request remote resources.
43
  * Fixed: Better output formatting if WDS/Pluginize "ads" failed to load images.
123
  * Fixed: Support for YARPP plugin.
124
  * Fixed: Prevent potential issues with AJAX requests and our scripts/styles
125
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
126
  == Upgrade Notice ==
127
 
128
+ = 1.3.5 - 2016-6-3 =
129
+ * Removed undefined index error for publicly_queryable in "Get Code" area. That parameter is targeted for 1.4.0 release.
130
+
131
  = 1.3.4 - 2016-5-4 =
132
  * Fixed: moved WDS-based services "ads" to within the plugin itself. Will not request remote resources.
133
  * Fixed: Better output formatting if WDS/Pluginize "ads" failed to load images.
213
  * Fixed: Support for YARPP plugin.
214
  * Fixed: Prevent potential issues with AJAX requests and our scripts/styles
215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
216
  == Installation ==
217
 
218
  = Manual =
230
 
231
  == Frequently Asked Questions ==
232
 
233
+ User documentation: http://docs.pluginize.com/collection/1-custom-post-type-ui
234
+ Code/API documentation: http://codex.pluginize.com/cptui/
235
 
236
  == Other Notes ==
237
 
238
  Import/Export functionality amended from original contribution by [Ben Allfree](http://wordpress.org/support/profile/benallfree).