You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+55-1Lines changed: 55 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,57 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
9
9
10
10
- Not documented.
11
11
12
+
## [1.6.2] - 2019-05-20
13
+
### Added
14
+
- "themes" is now a reserved post type slug due to conflicts with WordPress internally.
15
+
16
+
### Fixed
17
+
- Updated wording around "Supports" section of post type settings screen.
18
+
19
+
## [1.6.1] - 2018-12-03
20
+
### Fixed
21
+
- Missed quote for "publicly_queryable" in taxonomy "get code" output.
22
+
- Adjusted handling of capitalization on the word "false" when being used to disable a taxonomy metabox via the "metabox callback" setting. The word "false" needs to be all lowercase to disable.
23
+
24
+
### Updated
25
+
- Added note about ability to pass "false" for the "metabox callback" setting to disable the metabox.
26
+
- Fall back to "custom-post-type-ui" textdomain in "get code" output if theme does not have their own.
27
+
- Make "Show In Rest" setting default to true taxonomies for sake of easier Gutenberg integration in the future. 1.6.0 had just post types doing this.
28
+
29
+
## [1.6.0] - 2018-10-22
30
+
### Added
31
+
- Support for `meta_box_cb` parameter for `register_taxonomy` and taxonomies.
32
+
- Dynamically warn about existing slugs.
33
+
- "delete_with_user" support for post types.
34
+
- Filters for post type and taxonomy data right before saving of final data.
35
+
-`cptui_get_taxonomy_exists` function to check if a provided taxonomy is registered.
36
+
- Required PHP version to readme.txt
37
+
- Filter on taxonomies to be listed as available for association with a post type.
38
+
- Warning indicators to our "Slug changed" and "Slug exists" warnings for post types and taxonomies.
39
+
- Support for "publicly_queryable" parameter for taxonomies.
40
+
- Support for "rest_controller_class" parameters for both post types and taxonomies.
41
+
- Some initial WP-CLI support for importing and exporting CPTUI settings.
42
+
-`name_admin_bar` support in post type labels.
43
+
- Handling of array versions for "capability_type" field.
44
+
45
+
### Updated
46
+
- Bump minimum WordPress version to 4.7.
47
+
- Pass the object_type array to `cptui_pre_register_taxonomy` filter as extra parameter.
48
+
- Adjusted preserved label handling to aid with plugin performance. Props alex-solovyev
49
+
- Utilize `wp_doing_ajax()` function for our AJAX checks.
50
+
- Clarify what is exported with the Post Types and Taxonomies spots for the Tools section.
51
+
- Clarify that the listed post types to associate to a CPTUI taxonomy are public post types by default.
52
+
- Make "Show In Rest" setting default to true for sake of easier Gutenberg integration in the future.
53
+
54
+
### Fixed
55
+
- Only register archive slug if has_archive is set to true.
56
+
- Error occurred when attempting to unset post types while editing a taxonomy.
57
+
- Prevent errors from non-existant callback functions during post type or taxonomy processing.
58
+
- Incorrect use of reserved taxonomy slugs function in a check for reserved post types.
59
+
- Make sure "No post type selected" alert trigger from both buttons on the taxonomy settings edit screen.
60
+
- Add our stylesheet only on our CPTUI pages. Fixes responsive bug on post editor screen.
61
+
- Removed duplicate "label" in taxonomy "get code" section.
62
+
12
63
## [1.5.8] - 2018-04-16
13
64
### Fixed
14
65
- Corrected issue with `Get Code` area regarding post types and `show in menu` field values.
@@ -386,7 +437,10 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
Copy file name to clipboardExpand all lines: inc/about.php
+4-8Lines changed: 4 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -85,16 +85,12 @@ function cptui_settings() {
85
85
<div class="changelog about-integrations">
86
86
<div class="cptui-feature feature-section col three-col">
87
87
<div class="col">
88
-
<h2><?phpesc_html_e( 'Ability to temporarily disable content types without deleting them.', 'custom-post-type-ui' ); ?></h2>
89
-
<p><?phpesc_html_e( 'Have you ever wanted to temporarily disable things without removing their settings, as you continue developing the site? Custom Post Type UI now has the ability to skip content types with a WordPress filter. UI options to toggle will be in a later version.', 'custom-post-type-ui' ); ?></p>
90
-
</div>
91
-
<div class="col">
92
-
<h2><?phpesc_html_e( 'New post type labels introduced in WordPress 5.0', 'custom-post-type-ui' ); ?></h2>
93
-
<p><?phpesc_html_e( 'We have increased our minimum supported WordPress version and with that, we now support the newest available label options. You now have even finer control over your admin UI wording.', 'custom-post-type-ui' ); ?></p>
88
+
<h2><?phpesc_html_e( 'Ability to set a default term for a custom taxonomy.', 'custom-post-type-ui' ); ?></h2>
89
+
<p><?phpesc_html_e( 'WordPress 5.5 added the ability to set a default term to your custom taxonomy, and now you do not have to worry about extra coding for that with Custom Post Type UI.', 'custom-post-type-ui' ); ?></p>
94
90
</div>
95
91
<div class="col last-feature">
96
-
<h2></h2>
97
-
<p></p>
92
+
<h2><?phpesc_html_e( 'Removed forced underscores for post type slugs.', 'custom-post-type-ui' ); ?></h2>
93
+
<p><?phpesc_html_e( 'Post types are actually able to have dashes in their slug/name value, so we have removed the forcing of underscores for them. Taxonomies do still need underscores, until told otherwise.', 'custom-post-type-ui' ); ?></p>
'helptext' => esc_html__( 'Sets a callback function name for the meta box display. Hierarchical default: post_categories_meta_box, non-hierarchical default: post_tags_meta_box. To remove the metabox completely, use "false".', 'custom-post-type-ui' ),
'helptext' => esc_html__( 'Set a default term for the taxonomy. Able to set a name, slug, and description. Only a name is required if setting a default, others are optional. Set values in the following order, separated by comma. Example: name, slug, description', 'custom-post-type-ui' ),
0 commit comments