Version Description
- 2020-01-08 =
- Fixed: Duplicate entries for "delete_with_user" in get code.
- Fixed: Delete button for post types and taxonomies at bottom of page did not trigger dialog prompt.
Download this release
Release Info
Developer | tw2113 |
Plugin | Custom Post Type UI |
Version | 1.7.2 |
Comparing to | |
See all releases |
Code changes from version 1.7.1 to 1.7.2
- custom-post-type-ui.php +3 -3
- inc/post-types.php +2 -2
- inc/taxonomies.php +2 -2
- inc/tools.php +0 -3
- js/cptui.js +1 -1
- js/cptui.min.js +1 -1
- readme.txt +9 -117
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.
|
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.
|
34 |
-
define( 'CPTUI_VERSION', '1.7.
|
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.2
|
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.2' ); // Left for legacy purposes.
|
34 |
+
define( 'CPTUI_VERSION', '1.7.2' );
|
35 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
36 |
|
37 |
/**
|
inc/post-types.php
CHANGED
@@ -322,7 +322,7 @@ function cptui_manage_post_types() {
|
|
322 |
* @param string $value Text to use for the button.
|
323 |
*/
|
324 |
?>
|
325 |
-
<input type="submit" class="button-secondary" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_post_type_submit_delete', __( 'Delete Post Type', 'custom-post-type-ui' ) ) ); ?>" />
|
326 |
<?php } else { ?>
|
327 |
<?php
|
328 |
|
@@ -1384,7 +1384,7 @@ function cptui_manage_post_types() {
|
|
1384 |
* @param string $value Text to use for the button.
|
1385 |
*/
|
1386 |
?>
|
1387 |
-
<input type="submit" class="button-secondary" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_post_type_submit_delete', __( 'Delete Post Type', 'custom-post-type-ui' ) ) ); ?>" />
|
1388 |
<?php
|
1389 |
} else {
|
1390 |
|
322 |
* @param string $value Text to use for the button.
|
323 |
*/
|
324 |
?>
|
325 |
+
<input type="submit" class="button-secondary cptui-delete-top" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_post_type_submit_delete', __( 'Delete Post Type', 'custom-post-type-ui' ) ) ); ?>" />
|
326 |
<?php } else { ?>
|
327 |
<?php
|
328 |
|
1384 |
* @param string $value Text to use for the button.
|
1385 |
*/
|
1386 |
?>
|
1387 |
+
<input type="submit" class="button-secondary cptui-delete-bottom" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_post_type_submit_delete', __( 'Delete Post Type', 'custom-post-type-ui' ) ) ); ?>" />
|
1388 |
<?php
|
1389 |
} else {
|
1390 |
|
inc/taxonomies.php
CHANGED
@@ -382,7 +382,7 @@ function cptui_manage_taxonomies() {
|
|
382 |
* @param string $value Text to use for the button.
|
383 |
*/
|
384 |
?>
|
385 |
-
<input type="submit" class="button-secondary" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_taxonomy_submit_delete', __( 'Delete Taxonomy', 'custom-post-type-ui' ) ) ); ?>" />
|
386 |
<?php } else { ?>
|
387 |
<?php
|
388 |
|
@@ -1085,7 +1085,7 @@ function cptui_manage_taxonomies() {
|
|
1085 |
* @param string $value Text to use for the button.
|
1086 |
*/
|
1087 |
?>
|
1088 |
-
<input type="submit" class="button-secondary" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_taxonomy_submit_delete', __( 'Delete Taxonomy', 'custom-post-type-ui' ) ) ); ?>" />
|
1089 |
<?php } else { ?>
|
1090 |
<?php
|
1091 |
|
382 |
* @param string $value Text to use for the button.
|
383 |
*/
|
384 |
?>
|
385 |
+
<input type="submit" class="button-secondary cptui-delete-top" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_taxonomy_submit_delete', __( 'Delete Taxonomy', 'custom-post-type-ui' ) ) ); ?>" />
|
386 |
<?php } else { ?>
|
387 |
<?php
|
388 |
|
1085 |
* @param string $value Text to use for the button.
|
1086 |
*/
|
1087 |
?>
|
1088 |
+
<input type="submit" class="button-secondary cptui-delete-bottom" name="cpt_delete" id="cpt_submit_delete" value="<?php echo esc_attr( apply_filters( 'cptui_taxonomy_submit_delete', __( 'Delete Taxonomy', 'custom-post-type-ui' ) ) ); ?>" />
|
1089 |
<?php } else { ?>
|
1090 |
<?php
|
1091 |
|
inc/tools.php
CHANGED
@@ -460,8 +460,6 @@ function cptui_get_single_post_type_registery( $post_type = [] ) {
|
|
460 |
}
|
461 |
$rest_controller_class = ! empty( $post_type['rest_controller_class'] ) ? $post_type['rest_controller_class'] : 'WP_REST_Posts_Controller';
|
462 |
|
463 |
-
$delete_with_user = ( ! empty( $post_type['delete_with_user'] ) && false !== get_disp_boolean( $post_type['delete_with_user'] ) ) ? 'true' : 'false';
|
464 |
-
|
465 |
$show_in_menu = get_disp_boolean( $post_type['show_in_menu'] );
|
466 |
if ( false !== $show_in_menu ) {
|
467 |
$show_in_menu = disp_boolean( $post_type['show_in_menu'] );
|
@@ -532,7 +530,6 @@ function cptui_get_single_post_type_registery( $post_type = [] ) {
|
|
532 |
"public" => <?php echo disp_boolean( $post_type['public'] ); ?>,
|
533 |
"publicly_queryable" => <?php echo disp_boolean( $post_type['publicly_queryable'] ); ?>,
|
534 |
"show_ui" => <?php echo disp_boolean( $post_type['show_ui'] ); ?>,
|
535 |
-
"delete_with_user" => <?php echo $delete_with_user; ?>,
|
536 |
"show_in_rest" => <?php echo disp_boolean( $post_type['show_in_rest'] ); ?>,
|
537 |
"rest_base" => "<?php echo $post_type['rest_base']; ?>",
|
538 |
"rest_controller_class" => "<?php echo $rest_controller_class; ?>",
|
460 |
}
|
461 |
$rest_controller_class = ! empty( $post_type['rest_controller_class'] ) ? $post_type['rest_controller_class'] : 'WP_REST_Posts_Controller';
|
462 |
|
|
|
|
|
463 |
$show_in_menu = get_disp_boolean( $post_type['show_in_menu'] );
|
464 |
if ( false !== $show_in_menu ) {
|
465 |
$show_in_menu = disp_boolean( $post_type['show_in_menu'] );
|
530 |
"public" => <?php echo disp_boolean( $post_type['public'] ); ?>,
|
531 |
"publicly_queryable" => <?php echo disp_boolean( $post_type['publicly_queryable'] ); ?>,
|
532 |
"show_ui" => <?php echo disp_boolean( $post_type['show_ui'] ); ?>,
|
|
|
533 |
"show_in_rest" => <?php echo disp_boolean( $post_type['show_in_rest'] ); ?>,
|
534 |
"rest_base" => "<?php echo $post_type['rest_base']; ?>",
|
535 |
"rest_controller_class" => "<?php echo $rest_controller_class; ?>",
|
js/cptui.js
CHANGED
@@ -26,7 +26,7 @@ postboxes.add_postbox_toggles(pagenow);
|
|
26 |
});
|
27 |
|
28 |
// Confirm our deletions
|
29 |
-
$('
|
30 |
e.preventDefault();
|
31 |
var msg = '';
|
32 |
if (typeof cptui_type_data !== 'undefined') {
|
26 |
});
|
27 |
|
28 |
// Confirm our deletions
|
29 |
+
$('.cptui-delete-top, .cptui-delete-bottom').on('click',function(e) {
|
30 |
e.preventDefault();
|
31 |
var msg = '';
|
32 |
if (typeof cptui_type_data !== 'undefined') {
|
js/cptui.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
postboxes.add_postbox_toggles(pagenow),function($){if($("#cptui_select_post_type_submit").hide(),$("#cptui_select_taxonomy_submit").hide(),"edit"===function(name,url){url=url||window.location.href;name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}("action"))var original_slug=$("#name").val();$("#post_type").on("change",function(){$("#cptui_select_post_type").submit()}),$("#taxonomy").on("change",function(){$("#cptui_select_taxonomy").submit()}),$("
|
1 |
+
postboxes.add_postbox_toggles(pagenow),function($){if($("#cptui_select_post_type_submit").hide(),$("#cptui_select_taxonomy_submit").hide(),"edit"===function(name,url){url=url||window.location.href;name=name.replace(/[\[\]]/g,"\\$&");var results=new RegExp("[?&]"+name+"(=([^&#]*)|&|#|$)").exec(url);return results?results[2]?decodeURIComponent(results[2].replace(/\+/g," ")):"":null}("action"))var original_slug=$("#name").val();$("#post_type").on("change",function(){$("#cptui_select_post_type").submit()}),$("#taxonomy").on("change",function(){$("#cptui_select_taxonomy").submit()}),$(".cptui-delete-top, .cptui-delete-bottom").on("click",function(e){e.preventDefault();var msg="";"undefined"!=typeof cptui_type_data?msg=cptui_type_data.confirm:"undefined"!=typeof cptui_tax_data&&(msg=cptui_tax_data.confirm);$('<div class="cptui-submit-delete-dialog">'+msg+"</div>").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){$(e.target).closest("form");$(e.target).unbind("click").click()},Cancel:function(){$(this).dialog("close")}}})}),$("#support .question").each(function(){var tis=$(this),state=!1,answer=tis.next("div").slideUp();tis.on("click keydown",function(e){"keydown"===e.type&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),state=!state,answer.slideToggle(state),tis.toggleClass("active",state),tis.attr("aria-expanded",state.toString()),tis.focus())})}),$("#name").on("keyup",function(e){var value,original_value;if(value=original_value=$(this).val(),9!==e.keyCode&&37!==e.keyCode&&38!==e.keyCode&&39!==e.keyCode&&40!==e.keyCode&&(value=function(s){return s=s.replace(/[^a-z0-9\s]/gi,"_")}(value=function(word){return word.split("").map(function(char){return cyrillic[char]||char}).join("")}(value=function(s){for(var diacritics=[/[\300-\306]/g,/[\340-\346]/g,/[\310-\313]/g,/[\350-\353]/g,/[\314-\317]/g,/[\354-\357]/g,/[\322-\330]/g,/[\362-\370]/g,/[\331-\334]/g,/[\371-\374]/g,/[\321]/g,/[\361]/g,/[\307]/g,/[\347]/g],chars=["A","a","E","e","I","i","O","o","U","u","N","n","C","c"],i=0;i<diacritics.length;i++)s=s.replace(diacritics[i],chars[i]);return s}(value=(value=value.replace(/ /g,"_")).toLowerCase()))))!==original_value&&$(this).attr("value",value),void 0!==original_slug){var $slugchanged=$("#slugchanged");value!=original_slug?$slugchanged.removeClass("hidemessage"):$slugchanged.addClass("hidemessage")}var $slugexists=$("#slugexists");"undefined"!=typeof cptui_type_data&&(cptui_type_data.existing_post_types.hasOwnProperty(value)&&value!==original_slug?$slugexists.removeClass("hidemessage"):$slugexists.addClass("hidemessage")),"undefined"!=typeof cptui_tax_data&&(cptui_tax_data.existing_taxonomies.hasOwnProperty(value)&&value!==original_slug?$slugexists.removeClass("hidemessage"):$slugexists.addClass("hidemessage"))});var cyrillic={"Ё":"YO","Й":"I","Ц":"TS","У":"U","К":"K","Е":"E","Н":"N","Г":"G","Ш":"SH","Щ":"SCH","З":"Z","Х":"H","Ъ":"'","ё":"yo","й":"i","ц":"ts","у":"u","к":"k","е":"e","н":"n","г":"g","ш":"sh","щ":"sch","з":"z","х":"h","ъ":"'","Ф":"F","Ы":"I","В":"V","А":"a","П":"P","Р":"R","О":"O","Л":"L","Д":"D","Ж":"ZH","Э":"E","ф":"f","ы":"i","в":"v","а":"a","п":"p","р":"r","о":"o","л":"l","д":"d","ж":"zh","э":"e","Я":"Ya","Ч":"CH","С":"S","М":"M","И":"I","Т":"T","Ь":"'","Б":"B","Ю":"YU","я":"ya","ч":"ch","с":"s","м":"m","и":"i","т":"t","ь":"'","б":"b","ю":"yu"};if(null!=wp.media)var _custom_media=!0,_orig_send_attachment=wp.media.editor.send.attachment;$("#cptui_choose_icon").on("click",function(e){e.preventDefault();var button=$(this),id=jQuery("#menu_icon").attr("id");return _custom_media=!0,wp.media.editor.send.attachment=function(props,attachment){if(!_custom_media)return _orig_send_attachment.apply(this,[props,attachment]);$("#"+id).val(attachment.url)},wp.media.editor.open(button),!1}),$("#togglelabels").on("click",function(e){e.preventDefault(),$("#labels_expand").toggleClass("toggledclosed")}),$("#togglesettings").on("click",function(e){e.preventDefault(),$("#settings_expand").toggleClass("toggledclosed")}),$("#labels_expand,#settings_expand").on("focus",function(e){$(this).hasClass("toggledclosed")&&$(this).toggleClass("toggledclosed")}),$("#labels_expand legend,#settings_expand legend").on("click",function(e){$(this).parent().toggleClass("toggledclosed")}),$(".cptui-help").on("click",function(e){e.preventDefault()}),$(".cptui-taxonomy-submit").on("click",function(e){if(0==$(".cptui-table :checkbox:checked").length){e.preventDefault();$('<div class="cptui-taxonomy-empty-types-dialog">'+cptui_tax_data.no_associated_type+"</div>").appendTo("#poststuff").dialog({dialogClass:"wp-dialog",modal:!0,autoOpen:!0,buttons:{OK:function(){$(this).dialog("close")}}})}}),$("#auto-populate").on("click tap",function(e){e.preventDefault();var slug=$("#name").val(),plural=$("#label").val(),singular=$("#singular_label").val(),fields=$('.cptui-labels input[type="text"]');""!==slug&&(""===plural&&(plural=slug),""===singular&&(singular=slug),$(fields).each(function(i,el){var newval=$(el).data("label"),plurality=$(el).data("plurality");"undefined"!==newval&&(newval="plural"===plurality?newval.replace(/item/gi,plural):newval.replace(/item/gi,singular),""===$(el).val()&&$(el).val(newval))}))})}(jQuery);
|
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, taxonomy, tax, custom, content types, post types
|
5 |
Requires at least: 5.2
|
6 |
Tested up to: 5.3
|
7 |
-
Stable tag: 1.7.
|
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.1 - 2019-11-06 =
|
35 |
* Fixed: Random-ish redirects to the "Add new" tab for post types or taxonomies
|
36 |
* Fixed: JavaScript error when trying to delete a taxonomy.
|
@@ -87,67 +91,13 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
|
|
87 |
* Fixed: Add our stylesheet only on our CPTUI pages. Fixes responsive bug on post editor screen.
|
88 |
* Fixed: Removed duplicate "label" in taxonomy "get code" section.
|
89 |
|
90 |
-
= 1.5.8 - 2018-04-16 =
|
91 |
-
* Fixed: Corrected issue with "Get Code" area regarding post types and "show in menu" field values.
|
92 |
-
* Fixed: Add post_format taxonomy support for CPTUI post types that declare post formats support. This primarily addresses issues with previewing changes for existing post type posts with post_format support.
|
93 |
-
* Fixed: Add "show_in_nav_menus" settings/output to tools section.
|
94 |
-
* Fixed: "Undefined index" notices for show_in_rest and rest_base settings.
|
95 |
-
* Updated: Change how we hide submit button when editing existing post types or taxes so switching is available if a javascript error occurs.
|
96 |
-
* Updated sidebar links for Pluginize products.
|
97 |
-
|
98 |
-
= 1.5.7 - 2018-03-07 =
|
99 |
-
* Added: "output" added to blacklisted taxonomy slug list.
|
100 |
-
* Fixed: Prevent potential fatal error with customized links in plugin list page.
|
101 |
-
* Updated: Text at top of help area and readme description to promote available layouts in CPTUI-Extended.
|
102 |
-
* Updated: Things have been tested on the latest WordPress. You're in good hands.
|
103 |
-
|
104 |
-
= 1.5.6 - 2017-11-09 =
|
105 |
-
* Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
|
106 |
-
* Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for the admin notice.
|
107 |
-
|
108 |
-
= 1.5.5 - 2017-07-27 =
|
109 |
-
* Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
|
110 |
-
* Fixed: Better accommodate possible labels with apostrophes, in relation to "Get code" functionality.
|
111 |
-
|
112 |
-
= 1.5.4 - 2017-06-22 =
|
113 |
-
* Fixed: Resolved saving issue around post types that matched existing page slugs.
|
114 |
-
* Fixed: Layout issues on about page.
|
115 |
-
|
116 |
-
= 1.5.3 - 2017-03-29 =
|
117 |
-
* Fixed: Removed ability to rename post type and taxonomy slugs to reserved slugs after initial saving.
|
118 |
-
* Updated: Updated existing and added new, fancier side graphics.
|
119 |
-
|
120 |
-
= 1.5.2 - 2017-2-1 =
|
121 |
-
* Fixed: Chrome conflicts around the js used to sanitize post type and taxonomy slugs and cursors moving to end of input.
|
122 |
-
* Fixed: Further hardened undefined index notices and instance checks in our cptui_not_new_install() callback.
|
123 |
-
* Updated: Help text for post type and taxonomy slugs around the use of dashes. See http://docs.pluginize.com/article/135-dashes-in-post-type-taxonomy-slugs-for-url-seo
|
124 |
-
* Added: Clarification text regarding what the "Get code" section is useful for.
|
125 |
-
|
126 |
-
= 1.5.1 - 2017-1-17 =
|
127 |
-
* Fixed: Undefined index notice during update process for themes or plugins.
|
128 |
-
* Fixed: Blacklisted the word "include" from allowed taxonomy slugs. Causes menus to not show in WP Admin.
|
129 |
-
* Fixed: Blacklisted the word "fields" from allowed post type slugs. Causes pages to not show in WP Admin.
|
130 |
-
* Updated: Replaced hardcoded "manage_options" reference in our menu setup with variable holding filtered capability.
|
131 |
-
|
132 |
-
= 1.5.0 - 2017-1-10 =
|
133 |
-
* Added: Helper functions to grab individual post types or taxonomies from CPTUI options, function to check for support for custom saved values.
|
134 |
-
* Added: Helper functions to mark and check if a new CPTUI install.
|
135 |
-
* Added: FAQ clarifying why post type/taxonomy slugs are forced to underscores. We mean well, I assure you.
|
136 |
-
* Added: Conversion from Cyrillic characters to latin equivalents.
|
137 |
-
* Fixed: Parameter handling for get_terms() to match WordPress 4.5.
|
138 |
-
* Fixed: Added "action" as a reserved taxonomy name.
|
139 |
-
* Fixed: PHP Notices for rewrite array index, present since version 1.0.6
|
140 |
-
* Fixed: Prevent triggering post type/taxonomy slug convert when navigating screen via tab key.
|
141 |
-
* Fixed: Provide empty quote indicator in Registered Post Types and Taxonomies screen for empty values.
|
142 |
-
* Fixed: Post types and taxonomies no longer need extra page refresh to be registered after an import.
|
143 |
-
* Updated: Further evolved Registered Post Types and Taxonomies screen to better match list table styles.
|
144 |
-
* Updated: Bumped minimum required WordPress version to 4.6.
|
145 |
-
* Updated: Clarified what checking a checkbox does in regards to "Supports" area of post type settings.
|
146 |
-
* Updated: Changed appropriate help/support links to docs.pluginize.com.
|
147 |
-
* Updated: Added filter to tab collection for the tools section. You can now add your own tabs.
|
148 |
|
149 |
== Upgrade Notice ==
|
150 |
|
|
|
|
|
|
|
|
|
151 |
= 1.7.1 - 2019-11-06 =
|
152 |
* Fixed: Random-ish redirects to the "Add new" tab for post types or taxonomies
|
153 |
* Fixed: JavaScript error when trying to delete a taxonomy.
|
@@ -204,64 +154,6 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
|
|
204 |
* Fixed: Add our stylesheet only on our CPTUI pages. Fixes responsive bug on post editor screen.
|
205 |
* Fixed: Removed duplicate "label" in taxonomy "get code" section.
|
206 |
|
207 |
-
= 1.5.8 - 2018-04-16 =
|
208 |
-
* Fixed: Corrected issue with "Get Code" area regarding post types and "show in menu" field values.
|
209 |
-
* Fixed: Add post_format taxonomy support for CPTUI post types that declare post formats support. This primarily addresses issues with previewing changes for existing post type posts with post_format support.
|
210 |
-
* Fixed: Add "show_in_nav_menus" settings/output to tools section.
|
211 |
-
* Fixed: "Undefined index" notices for show_in_rest and rest_base settings.
|
212 |
-
* Updated: Change how we hide submit button when editing existing post types or taxes so switching is available if a javascript error occurs.
|
213 |
-
* Updated sidebar links for Pluginize products.
|
214 |
-
|
215 |
-
= 1.5.7 - 2018-03-07 =
|
216 |
-
* Added: "output" added to blacklisted taxonomy slug list.
|
217 |
-
* Fixed: Prevent potential fatal error with customized links in plugin list page.
|
218 |
-
* Updated: Text at top of help area and readme description to promote available layouts in CPTUI-Extended.
|
219 |
-
* Updated: Things have been tested on the latest WordPress. You're in good hands.
|
220 |
-
|
221 |
-
= 1.5.6 - 2017-11-09 =
|
222 |
-
* Added: Added "custom_css", "customize_changeset", "author", and "post_type" as reserved post_types.
|
223 |
-
* Fixed: The "Invalid JSON" error message was receiving the wrong color indicator for the admin notice.
|
224 |
-
|
225 |
-
= 1.5.5 - 2017-07-27 =
|
226 |
-
* Fixed: Prevent possible conflicts with .required css selector by prefixing ours.
|
227 |
-
* Fixed: Better accommodate possible labels with apostrophes, in relation to "Get code" functionality.
|
228 |
-
|
229 |
-
= 1.5.4 - 2017-06-22 =
|
230 |
-
* Fixed: Resolved saving issue around post types tha matched existing page slugs.
|
231 |
-
* Fixed: Layout issues on about page.
|
232 |
-
|
233 |
-
= 1.5.3 - 2017-03-29 =
|
234 |
-
* Fixed: Removed ability to rename post type and taxonomy slugs to reserved slugs after initial saving.
|
235 |
-
* Updated: Updated existing and added new, fancier side graphics.
|
236 |
-
|
237 |
-
= 1.5.2 - 2017-2-1 =
|
238 |
-
* Fixed: Chrome conflicts around the js used to sanitize post type and taxonomy slugs and cursors moving to end of input.
|
239 |
-
* Fixed: Further hardened undefined index notices and instance checks in our cptui_not_new_install() callback.
|
240 |
-
* Updated: Help text for post type and taxonomy slugs around the use of dashes. See http://docs.pluginize.com/article/135-dashes-in-post-type-taxonomy-slugs-for-url-seo
|
241 |
-
* Added: Clarification text regarding what the "Get code" section is useful for.
|
242 |
-
|
243 |
-
= 1.5.1 - 2017-1-17 =
|
244 |
-
* Fixed: Undefined index notice during update process for themes or plugins.
|
245 |
-
* Fixed: Blacklisted the word "include" from allowed taxonomy slugs. Causes menus to not show in WP Admin.
|
246 |
-
* Fixed: Blacklisted the word "fields" from allowed post type slugs. Causes pages to not show in WP Admin.
|
247 |
-
* Updated: Replaced hardcoded "manage_options" reference in our menu setup with variable holding filtered capability.
|
248 |
-
|
249 |
-
= 1.5.0 - 2017-1-10 =
|
250 |
-
* Added: Helper functions to grab individual post types or taxonomies from CPTUI options, function to check for support for custom saved values.
|
251 |
-
* Added: Helper functions to mark and check if a new CPTUI install.
|
252 |
-
* Added: FAQ clarifying why post type/taxonomy slugs are forced to underscores. We mean well, I assure you.
|
253 |
-
* Fixed: Parameter handling for get_terms() to match WordPress 4.5.
|
254 |
-
* Fixed: Added "action" as a reserved taxonomy name.
|
255 |
-
* Fixed: PHP Notices for rewrite array index, present since version 1.0.6
|
256 |
-
* Fixed: Prevent triggering post type/taxonomy slug convert when navigating screen via tab key.
|
257 |
-
* Fixed: Provide empty quote indicator in Registered Post Types and Taxonomies screen for empty values.
|
258 |
-
* Fixed: Post types and taxonomies no longer need extra page refresh to be registered after an import.
|
259 |
-
* Updated: Further evolved Registered Post Types and Taxonomies screen to better match list table styles.
|
260 |
-
* Updated: Bumped minimum required WordPress version to 4.6.
|
261 |
-
* Updated: Clarified what checking a checkbox does in regards to "Supports" area of post type settings.
|
262 |
-
* Updated: Changed appropriate help/support links to docs.pluginize.com.
|
263 |
-
* Updated: Added filter to tab collection for the tools section. You can now add your own tabs.
|
264 |
-
|
265 |
== Installation ==
|
266 |
|
267 |
= Admin Installer via search =
|
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.3
|
7 |
+
Stable tag: 1.7.2
|
8 |
License: GPL-2.0+
|
9 |
Requires PHP: 5.6
|
10 |
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 1.7.2 - 2020-01-08 =
|
35 |
+
* Fixed: Duplicate entries for "delete_with_user" in get code.
|
36 |
+
* Fixed: Delete button for post types and taxonomies at bottom of page did not trigger dialog prompt.
|
37 |
+
|
38 |
= 1.7.1 - 2019-11-06 =
|
39 |
* Fixed: Random-ish redirects to the "Add new" tab for post types or taxonomies
|
40 |
* Fixed: JavaScript error when trying to delete a taxonomy.
|
91 |
* Fixed: Add our stylesheet only on our CPTUI pages. Fixes responsive bug on post editor screen.
|
92 |
* Fixed: Removed duplicate "label" in taxonomy "get code" section.
|
93 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
|
95 |
== Upgrade Notice ==
|
96 |
|
97 |
+
= 1.7.2 - 2020-01-08 =
|
98 |
+
* Fixed: Duplicate entries for "delete_with_user" in get code.
|
99 |
+
* Fixed: Delete button for post types and taxonomies at bottom of page did not trigger dialog prompt.
|
100 |
+
|
101 |
= 1.7.1 - 2019-11-06 =
|
102 |
* Fixed: Random-ish redirects to the "Add new" tab for post types or taxonomies
|
103 |
* Fixed: JavaScript error when trying to delete a taxonomy.
|
154 |
* Fixed: Add our stylesheet only on our CPTUI pages. Fixes responsive bug on post editor screen.
|
155 |
* Fixed: Removed duplicate "label" in taxonomy "get code" section.
|
156 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
== Installation ==
|
158 |
|
159 |
= Admin Installer via search =
|