Version Description
- 2021-06-16 =
- Added: "date" as a reserved taxonomy slug.
- Fixed: duplicate "show_in_graphql" attribute output in "Get Code" output.
- Updated: image optimization for smaller file sizes.
- Updated: removed duplicate taxonomy labels.
Download this release
Release Info
Developer | tw2113 |
Plugin | Custom Post Type UI |
Version | 1.9.2 |
Comparing to | |
See all releases |
Code changes from version 1.9.1 to 1.9.2
- custom-post-type-ui.php +3 -3
- images/cptui-icon-128x128.png +0 -0
- images/cptui-icon-173x173.png +0 -0
- images/cptui-icon-256x256.png +0 -0
- images/wds_ads/buddypages.png +0 -0
- images/wds_ads/cptui-extended.png +0 -0
- images/wds_ads/instago.png +0 -0
- images/wds_ads/maintainn.png +0 -0
- inc/taxonomies.php +3 -16
- inc/tools.php +2 -2
- readme.txt +14 -2
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.9.
|
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.9.
|
34 |
-
define( 'CPTUI_VERSION', '1.9.
|
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.9.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.9.2' ); // Left for legacy purposes.
|
34 |
+
define( 'CPTUI_VERSION', '1.9.2' );
|
35 |
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
|
36 |
|
37 |
/**
|
images/cptui-icon-128x128.png
CHANGED
Binary file
|
images/cptui-icon-173x173.png
CHANGED
Binary file
|
images/cptui-icon-256x256.png
CHANGED
Binary file
|
images/wds_ads/buddypages.png
CHANGED
Binary file
|
images/wds_ads/cptui-extended.png
CHANGED
Binary file
|
images/wds_ads/instago.png
CHANGED
Binary file
|
images/wds_ads/maintainn.png
CHANGED
Binary file
|
inc/taxonomies.php
CHANGED
@@ -630,7 +630,7 @@ function cptui_manage_taxonomies() {
|
|
630 |
'textvalue' => isset( $current['labels']['choose_from_most_used'] ) ? esc_attr( $current['labels']['choose_from_most_used'] ) : null,
|
631 |
'aftertext' => esc_attr__( '(e.g. Choose from the most used Actors)', 'custom-post-type-ui' ),
|
632 |
'labeltext' => esc_html__( 'Choose From Most Used', 'custom-post-type-ui' ),
|
633 |
-
'helptext' =>
|
634 |
'data' => [
|
635 |
/* translators: Used for autofill */
|
636 |
'label' => sprintf( esc_attr__( 'Choose from the most used %s', 'custom-post-type-ui' ), 'item' ),
|
@@ -644,7 +644,7 @@ function cptui_manage_taxonomies() {
|
|
644 |
'textvalue' => isset( $current['labels']['not_found'] ) ? esc_attr( $current['labels']['not_found'] ) : null,
|
645 |
'aftertext' => esc_attr__( '(e.g. No Actors found)', 'custom-post-type-ui' ),
|
646 |
'labeltext' => esc_html__( 'Not found', 'custom-post-type-ui' ),
|
647 |
-
'helptext' => esc_html__( '
|
648 |
'data' => [
|
649 |
/* translators: Used for autofill */
|
650 |
'label' => sprintf( esc_attr__( 'No %s found', 'custom-post-type-ui' ), 'item' ),
|
@@ -694,20 +694,6 @@ function cptui_manage_taxonomies() {
|
|
694 |
],
|
695 |
] );
|
696 |
|
697 |
-
echo $ui->get_text_input( [
|
698 |
-
'namearray' => 'cpt_tax_labels',
|
699 |
-
'name' => 'not_found',
|
700 |
-
'textvalue' => isset( $current['labels']['not_found'] ) ? esc_attr( $current['labels']['not_found'] ) : null,
|
701 |
-
'aftertext' => esc_html__( '(e.g. No actors found)', 'custom-post-type-ui' ),
|
702 |
-
'labeltext' => esc_html__( 'Not Found', 'custom-post-type-ui' ),
|
703 |
-
'helptext' => esc_attr__( 'The text displayed via clicking ‘Choose from the most used items’ in the taxonomy meta box when no items are available.', 'custom-post-type-ui' ),
|
704 |
-
'data' => [
|
705 |
-
/* translators: Used for autofill */
|
706 |
-
'label' => sprintf( esc_attr__( 'No %s found', 'custom-post-type-ui' ), 'item' ),
|
707 |
-
'plurality' => 'plural',
|
708 |
-
],
|
709 |
-
] );
|
710 |
-
|
711 |
echo $ui->get_text_input( [
|
712 |
'namearray' => 'cpt_tax_labels',
|
713 |
'name' => 'back_to_items',
|
@@ -1545,6 +1531,7 @@ function cptui_reserved_taxonomies() {
|
|
1545 |
'customized',
|
1546 |
'cpage',
|
1547 |
'day',
|
|
|
1548 |
'debug',
|
1549 |
'error',
|
1550 |
'exact',
|
630 |
'textvalue' => isset( $current['labels']['choose_from_most_used'] ) ? esc_attr( $current['labels']['choose_from_most_used'] ) : null,
|
631 |
'aftertext' => esc_attr__( '(e.g. Choose from the most used Actors)', 'custom-post-type-ui' ),
|
632 |
'labeltext' => esc_html__( 'Choose From Most Used', 'custom-post-type-ui' ),
|
633 |
+
'helptext' => esc_attr__( 'The text displayed via clicking ‘Choose from the most used items’ in the taxonomy meta box when no items are available.', 'custom-post-type-ui' ),
|
634 |
'data' => [
|
635 |
/* translators: Used for autofill */
|
636 |
'label' => sprintf( esc_attr__( 'Choose from the most used %s', 'custom-post-type-ui' ), 'item' ),
|
644 |
'textvalue' => isset( $current['labels']['not_found'] ) ? esc_attr( $current['labels']['not_found'] ) : null,
|
645 |
'aftertext' => esc_attr__( '(e.g. No Actors found)', 'custom-post-type-ui' ),
|
646 |
'labeltext' => esc_html__( 'Not found', 'custom-post-type-ui' ),
|
647 |
+
'helptext' => esc_html__( 'Used when indicating that there are no terms in the given taxonomy within the meta box and taxonomy list table.', 'custom-post-type-ui' ),
|
648 |
'data' => [
|
649 |
/* translators: Used for autofill */
|
650 |
'label' => sprintf( esc_attr__( 'No %s found', 'custom-post-type-ui' ), 'item' ),
|
694 |
],
|
695 |
] );
|
696 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
697 |
echo $ui->get_text_input( [
|
698 |
'namearray' => 'cpt_tax_labels',
|
699 |
'name' => 'back_to_items',
|
1531 |
'customized',
|
1532 |
'cpage',
|
1533 |
'day',
|
1534 |
+
'date',
|
1535 |
'debug',
|
1536 |
'error',
|
1537 |
'exact',
|
inc/tools.php
CHANGED
@@ -349,7 +349,7 @@ foreach ( $taxonomy['labels'] as $key => $label ) {
|
|
349 |
<?php if ( $show_graphql ) : ?>
|
350 |
"show_in_graphql" => <?php echo disp_boolean( $taxonomy['show_in_graphql'] ); ?>,
|
351 |
"graphql_single_name" => "<?php echo esc_html( $taxonomy['graphql_single_name'] ); ?>",
|
352 |
-
"
|
353 |
<?php else: ?>
|
354 |
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
|
355 |
<?php endif; ?>
|
@@ -596,7 +596,7 @@ function cptui_get_single_post_type_registery( $post_type = [] ) {
|
|
596 |
<?php if ( $show_graphql ) : ?>
|
597 |
"show_in_graphql" => <?php echo disp_boolean( $post_type['show_in_graphql'] ); ?>,
|
598 |
"graphql_single_name" => "<?php echo esc_html( $post_type['graphql_single_name'] ); ?>",
|
599 |
-
"
|
600 |
<?php else: ?>
|
601 |
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
|
602 |
<?php endif; ?>
|
349 |
<?php if ( $show_graphql ) : ?>
|
350 |
"show_in_graphql" => <?php echo disp_boolean( $taxonomy['show_in_graphql'] ); ?>,
|
351 |
"graphql_single_name" => "<?php echo esc_html( $taxonomy['graphql_single_name'] ); ?>",
|
352 |
+
"graphql_plural_name" => "<?php echo esc_html( $taxonomy['graphql_plural_name'] ); ?>",
|
353 |
<?php else: ?>
|
354 |
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
|
355 |
<?php endif; ?>
|
596 |
<?php if ( $show_graphql ) : ?>
|
597 |
"show_in_graphql" => <?php echo disp_boolean( $post_type['show_in_graphql'] ); ?>,
|
598 |
"graphql_single_name" => "<?php echo esc_html( $post_type['graphql_single_name'] ); ?>",
|
599 |
+
"graphql_plural_name" => "<?php echo esc_html( $post_type['graphql_plural_name'] ); ?>",
|
600 |
<?php else: ?>
|
601 |
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
|
602 |
<?php endif; ?>
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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: 5.5
|
6 |
-
Tested up to: 5.7.
|
7 |
-
Stable tag: 1.9.
|
8 |
License: GPL-2.0+
|
9 |
Requires PHP: 5.6
|
10 |
|
@@ -31,6 +31,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
|
|
31 |
|
32 |
== Changelog ==
|
33 |
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
= 1.9.1 - 2021-04-19 =
|
35 |
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
|
36 |
* Updated: note about needing a published item to set parent/child relationships in post types.
|
@@ -58,6 +64,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r
|
|
58 |
|
59 |
== Upgrade Notice ==
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
= 1.9.1 - 2021-04-19 =
|
62 |
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
|
63 |
* Updated: note about needing a published item to set parent/child relationships in post types.
|
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.7.2
|
7 |
+
Stable tag: 1.9.2
|
8 |
License: GPL-2.0+
|
9 |
Requires PHP: 5.6
|
10 |
|
31 |
|
32 |
== Changelog ==
|
33 |
|
34 |
+
= 1.9.2 - 2021-06-16 =
|
35 |
+
* Added: "date" as a reserved taxonomy slug.
|
36 |
+
* Fixed: duplicate "show_in_graphql" attribute output in "Get Code" output.
|
37 |
+
* Updated: image optimization for smaller file sizes.
|
38 |
+
* Updated: removed duplicate taxonomy labels.
|
39 |
+
|
40 |
= 1.9.1 - 2021-04-19 =
|
41 |
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
|
42 |
* Updated: note about needing a published item to set parent/child relationships in post types.
|
64 |
|
65 |
== Upgrade Notice ==
|
66 |
|
67 |
+
= 1.9.2 - 2021-06-16 =
|
68 |
+
* Added: "date" as a reserved taxonomy slug.
|
69 |
+
* Fixed: duplicate "show_in_graphql" attribute output in "Get Code" output.
|
70 |
+
* Updated: image optimization for smaller file sizes.
|
71 |
+
* Updated: removed duplicate taxonomy labels.
|
72 |
+
|
73 |
= 1.9.1 - 2021-04-19 =
|
74 |
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
|
75 |
* Updated: note about needing a published item to set parent/child relationships in post types.
|