diff --git a/apigen/theme-cptui/resources/collapsed.png b/apigen/theme-cptui/resources/collapsed.png index 0bcd5d9d..d1496247 100644 Binary files a/apigen/theme-cptui/resources/collapsed.png and b/apigen/theme-cptui/resources/collapsed.png differ diff --git a/apigen/theme-cptui/resources/inherit.png b/apigen/theme-cptui/resources/inherit.png index 957079b8..7631be31 100644 Binary files a/apigen/theme-cptui/resources/inherit.png and b/apigen/theme-cptui/resources/inherit.png differ diff --git a/apigen/theme-cptui/resources/resize.png b/apigen/theme-cptui/resources/resize.png index fb98a7a3..149f8c5f 100644 Binary files a/apigen/theme-cptui/resources/resize.png and b/apigen/theme-cptui/resources/resize.png differ diff --git a/apigen/theme-cptui/resources/sort.png b/apigen/theme-cptui/resources/sort.png index 0d0fea14..3234445b 100644 Binary files a/apigen/theme-cptui/resources/sort.png and b/apigen/theme-cptui/resources/sort.png differ diff --git a/apigen/theme-cptui/resources/tree-cleaner.png b/apigen/theme-cptui/resources/tree-cleaner.png index 2eb9085b..bcdce222 100644 Binary files a/apigen/theme-cptui/resources/tree-cleaner.png and b/apigen/theme-cptui/resources/tree-cleaner.png differ diff --git a/apigen/theme-cptui/resources/tree-hasnext.png b/apigen/theme-cptui/resources/tree-hasnext.png index 91d6b79a..98404dfe 100644 Binary files a/apigen/theme-cptui/resources/tree-hasnext.png and b/apigen/theme-cptui/resources/tree-hasnext.png differ diff --git a/apigen/theme-cptui/resources/tree-last.png b/apigen/theme-cptui/resources/tree-last.png index 7f319f8f..398ad196 100644 Binary files a/apigen/theme-cptui/resources/tree-last.png and b/apigen/theme-cptui/resources/tree-last.png differ diff --git a/apigen/theme-cptui/resources/tree-vertical.png b/apigen/theme-cptui/resources/tree-vertical.png index 384908b2..568aaae2 100644 Binary files a/apigen/theme-cptui/resources/tree-vertical.png and b/apigen/theme-cptui/resources/tree-vertical.png differ diff --git a/assets/banner-1544x500.png b/assets/banner-1544x500.png index aef22a95..b5fbe402 100644 Binary files a/assets/banner-1544x500.png and b/assets/banner-1544x500.png differ diff --git a/assets/banner-772x250.png b/assets/banner-772x250.png index 05410e1c..265b5d87 100644 Binary files a/assets/banner-772x250.png and b/assets/banner-772x250.png differ diff --git a/assets/icon-128x128.png b/assets/icon-128x128.png index a77a199c..6b8c1775 100644 Binary files a/assets/icon-128x128.png and b/assets/icon-128x128.png differ diff --git a/assets/icon-256x256.png b/assets/icon-256x256.png index 88697677..6a879468 100644 Binary files a/assets/icon-256x256.png and b/assets/icon-256x256.png differ diff --git a/assets/screenshot-1.png b/assets/screenshot-1.png index 2d8ae338..6341a419 100644 Binary files a/assets/screenshot-1.png and b/assets/screenshot-1.png differ diff --git a/assets/screenshot-10.png b/assets/screenshot-10.png index e0c60b21..d58b9ae0 100644 Binary files a/assets/screenshot-10.png and b/assets/screenshot-10.png differ diff --git a/assets/screenshot-11.png b/assets/screenshot-11.png index e32cdd4c..48a07710 100644 Binary files a/assets/screenshot-11.png and b/assets/screenshot-11.png differ diff --git a/assets/screenshot-2.png b/assets/screenshot-2.png index ae36069b..92df6aaa 100644 Binary files a/assets/screenshot-2.png and b/assets/screenshot-2.png differ diff --git a/assets/screenshot-3.png b/assets/screenshot-3.png index 305c1e1e..814a1f0e 100644 Binary files a/assets/screenshot-3.png and b/assets/screenshot-3.png differ diff --git a/assets/screenshot-4.png b/assets/screenshot-4.png index 97d3d3c6..36b75cea 100644 Binary files a/assets/screenshot-4.png and b/assets/screenshot-4.png differ diff --git a/assets/screenshot-5.png b/assets/screenshot-5.png index 913b8b30..166a56f1 100644 Binary files a/assets/screenshot-5.png and b/assets/screenshot-5.png differ diff --git a/assets/screenshot-6.png b/assets/screenshot-6.png index 4fc04dd5..c9acde8d 100644 Binary files a/assets/screenshot-6.png and b/assets/screenshot-6.png differ diff --git a/assets/screenshot-7.png b/assets/screenshot-7.png index c5548303..28285100 100644 Binary files a/assets/screenshot-7.png and b/assets/screenshot-7.png differ diff --git a/assets/screenshot-8.png b/assets/screenshot-8.png index 27cd2ecf..524dc327 100644 Binary files a/assets/screenshot-8.png and b/assets/screenshot-8.png differ diff --git a/assets/screenshot-9.png b/assets/screenshot-9.png index 3e7ff2f2..057caea1 100644 Binary files a/assets/screenshot-9.png and b/assets/screenshot-9.png differ diff --git a/custom-post-type-ui.php b/custom-post-type-ui.php index 0f8f3587..9b788a59 100644 --- a/custom-post-type-ui.php +++ b/custom-post-type-ui.php @@ -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 @@ -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' ) ); /** diff --git a/images/cptui-icon-128x128.png b/images/cptui-icon-128x128.png index a77a199c..6b8c1775 100644 Binary files a/images/cptui-icon-128x128.png and b/images/cptui-icon-128x128.png differ diff --git a/images/cptui-icon-173x173.png b/images/cptui-icon-173x173.png index c717ebdc..403a2938 100644 Binary files a/images/cptui-icon-173x173.png and b/images/cptui-icon-173x173.png differ diff --git a/images/cptui-icon-256x256.png b/images/cptui-icon-256x256.png index 88697677..6a879468 100644 Binary files a/images/cptui-icon-256x256.png and b/images/cptui-icon-256x256.png differ diff --git a/images/wds_ads/buddypages.png b/images/wds_ads/buddypages.png index bbd3447a..f0fe7fa8 100644 Binary files a/images/wds_ads/buddypages.png and b/images/wds_ads/buddypages.png differ diff --git a/images/wds_ads/cptui-extended.png b/images/wds_ads/cptui-extended.png index 7a206988..16274e60 100644 Binary files a/images/wds_ads/cptui-extended.png and b/images/wds_ads/cptui-extended.png differ diff --git a/images/wds_ads/instago.png b/images/wds_ads/instago.png index d5fc35d7..118137cb 100644 Binary files a/images/wds_ads/instago.png and b/images/wds_ads/instago.png differ diff --git a/images/wds_ads/maintainn.png b/images/wds_ads/maintainn.png index 8610ee8b..1834e66a 100644 Binary files a/images/wds_ads/maintainn.png and b/images/wds_ads/maintainn.png differ diff --git a/inc/taxonomies.php b/inc/taxonomies.php index d41553e7..5f7e5cb0 100644 --- a/inc/taxonomies.php +++ b/inc/taxonomies.php @@ -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' ), @@ -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' ), @@ -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', @@ -1545,6 +1531,7 @@ function cptui_reserved_taxonomies() { 'customized', 'cpage', 'day', + 'date', 'debug', 'error', 'exact', diff --git a/inc/tools.php b/inc/tools.php index 50b89464..0e0406b1 100644 --- a/inc/tools.php +++ b/inc/tools.php @@ -349,7 +349,7 @@ function cptui_get_single_taxonomy_registery( $taxonomy = [] ) { "show_in_graphql" => , "graphql_single_name" => "", - "show_in_graphql" => "", + "graphql_plural_name" => "", "show_in_graphql" => , @@ -596,7 +596,7 @@ function cptui_get_single_post_type_registery( $post_type = [] ) { "show_in_graphql" => , "graphql_single_name" => "", - "show_in_graphql" => "", + "graphql_plural_name" => "", "show_in_graphql" => , diff --git a/readme.txt b/readme.txt index c3fec4a0..68fe1bdd 100644 --- a/readme.txt +++ b/readme.txt @@ -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 @@ -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. @@ -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.