Skip to content

Commit

Permalink
merge in 1.9.2 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tw2113 committed Jun 17, 2021
1 parent 1dce912 commit 8729f67
Show file tree
Hide file tree
Showing 34 changed files with 22 additions and 23 deletions.
Binary file modified apigen/theme-cptui/resources/collapsed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/inherit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/resize.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/sort.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/tree-cleaner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/tree-hasnext.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/tree-last.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified apigen/theme-cptui/resources/tree-vertical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/banner-1544x500.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/banner-772x250.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icon-256x256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-7.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/screenshot-9.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions custom-post-type-ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* Plugin URI: https://github.com/WebDevStudios/custom-post-type-ui/
* Description: Admin panel for creating custom post types and custom taxonomies in WordPress
* Author: WebDevStudios
* Version: 1.9.1
* Version: 1.9.2
* Author URI: https://webdevstudios.com/
* Text Domain: custom-post-type-ui
* Domain Path: /languages
Expand All @@ -30,8 +30,8 @@
exit;
}

define( 'CPT_VERSION', '1.9.1' ); // Left for legacy purposes.
define( 'CPTUI_VERSION', '1.9.1' );
define( 'CPT_VERSION', '1.9.2' ); // Left for legacy purposes.
define( 'CPTUI_VERSION', '1.9.2' );
define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );

/**
Expand Down
Binary file modified images/cptui-icon-128x128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cptui-icon-173x173.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/cptui-icon-256x256.png
Binary file modified images/wds_ads/buddypages.png
Binary file modified images/wds_ads/cptui-extended.png
Binary file modified images/wds_ads/instago.png
Binary file modified images/wds_ads/maintainn.png
19 changes: 3 additions & 16 deletions inc/taxonomies.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,7 +630,7 @@ function cptui_manage_taxonomies() {
'textvalue' => isset( $current['labels']['choose_from_most_used'] ) ? esc_attr( $current['labels']['choose_from_most_used'] ) : null,
'aftertext' => esc_attr__( '(e.g. Choose from the most used Actors)', 'custom-post-type-ui' ),
'labeltext' => esc_html__( 'Choose From Most Used', 'custom-post-type-ui' ),
'helptext' => esc_html__( 'Custom taxonomy label. Used in the admin menu for displaying taxonomies.', 'custom-post-type-ui' ),
'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' ),
'data' => [
/* translators: Used for autofill */
'label' => sprintf( esc_attr__( 'Choose from the most used %s', 'custom-post-type-ui' ), 'item' ),
Expand All @@ -644,7 +644,7 @@ function cptui_manage_taxonomies() {
'textvalue' => isset( $current['labels']['not_found'] ) ? esc_attr( $current['labels']['not_found'] ) : null,
'aftertext' => esc_attr__( '(e.g. No Actors found)', 'custom-post-type-ui' ),
'labeltext' => esc_html__( 'Not found', 'custom-post-type-ui' ),
'helptext' => esc_html__( 'Custom taxonomy label. Used in the admin menu for displaying taxonomies.', 'custom-post-type-ui' ),
'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' ),
'data' => [
/* translators: Used for autofill */
'label' => sprintf( esc_attr__( 'No %s found', 'custom-post-type-ui' ), 'item' ),
Expand Down Expand Up @@ -694,20 +694,6 @@ function cptui_manage_taxonomies() {
],
] );

echo $ui->get_text_input( [
'namearray' => 'cpt_tax_labels',
'name' => 'not_found',
'textvalue' => isset( $current['labels']['not_found'] ) ? esc_attr( $current['labels']['not_found'] ) : null,
'aftertext' => esc_html__( '(e.g. No actors found)', 'custom-post-type-ui' ),
'labeltext' => esc_html__( 'Not Found', 'custom-post-type-ui' ),
'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' ),
'data' => [
/* translators: Used for autofill */
'label' => sprintf( esc_attr__( 'No %s found', 'custom-post-type-ui' ), 'item' ),
'plurality' => 'plural',
],
] );

echo $ui->get_text_input( [
'namearray' => 'cpt_tax_labels',
'name' => 'back_to_items',
Expand Down Expand Up @@ -1545,6 +1531,7 @@ function cptui_reserved_taxonomies() {
'customized',
'cpage',
'day',
'date',
'debug',
'error',
'exact',
Expand Down
4 changes: 2 additions & 2 deletions inc/tools.php
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,7 @@ function cptui_get_single_taxonomy_registery( $taxonomy = [] ) {
<?php if ( $show_graphql ) : ?>
"show_in_graphql" => <?php echo disp_boolean( $taxonomy['show_in_graphql'] ); ?>,
"graphql_single_name" => "<?php echo esc_html( $taxonomy['graphql_single_name'] ); ?>",
"show_in_graphql" => "<?php echo esc_html( $taxonomy['graphql_plural_name'] ); ?>",
"graphql_plural_name" => "<?php echo esc_html( $taxonomy['graphql_plural_name'] ); ?>",
<?php else: ?>
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
<?php endif; ?>
Expand Down Expand Up @@ -596,7 +596,7 @@ function cptui_get_single_post_type_registery( $post_type = [] ) {
<?php if ( $show_graphql ) : ?>
"show_in_graphql" => <?php echo disp_boolean( $post_type['show_in_graphql'] ); ?>,
"graphql_single_name" => "<?php echo esc_html( $post_type['graphql_single_name'] ); ?>",
"show_in_graphql" => "<?php echo esc_html( $post_type['graphql_plural_name'] ); ?>",
"graphql_plural_name" => "<?php echo esc_html( $post_type['graphql_plural_name'] ); ?>",
<?php else: ?>
"show_in_graphql" => <?php echo disp_boolean( false ); ?>,
<?php endif; ?>
Expand Down
16 changes: 14 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Contributors: webdevstudios, pluginize, tw2113, vegasgeek, modemlooper, williams
Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
Tags: custom post types, CPT, CMS, post, types, post type, taxonomy, tax, custom, content types, post types
Requires at least: 5.5
Tested up to: 5.7.0
Stable tag: 1.9.1
Tested up to: 5.7.2
Stable tag: 1.9.2
License: GPL-2.0+
Requires PHP: 5.6

Expand All @@ -31,6 +31,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r

== Changelog ==

= 1.9.2 - 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.

= 1.9.1 - 2021-04-19 =
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
* Updated: note about needing a published item to set parent/child relationships in post types.
Expand Down Expand Up @@ -58,6 +64,12 @@ Official development of Custom Post Type UI is on GitHub, with official stable r

== Upgrade Notice ==

= 1.9.2 - 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.

= 1.9.1 - 2021-04-19 =
* Fixed: missed WPGraphQL settings in our Get Tools/Export functionality.
* Updated: note about needing a published item to set parent/child relationships in post types.
Expand Down

0 comments on commit 8729f67

Please sign in to comment.