Plugin Directory

Changeset 3103726


Ignore:
Timestamp:
06/17/2024 07:18:02 PM (22 months ago)
Author:
webdevstudios
Message:

release version 1.17.0

Location:
custom-post-type-ui
Files:
55 added
6 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • custom-post-type-ui/trunk/custom-post-type-ui.php

    r3067146 r3103726  
    1717 * Description: Admin UI panel for registering custom post types and taxonomies
    1818 * Author: WebDevStudios
    19  * Version: 1.16.0
     19 * Version: 1.17.0
    2020 * Author URI: https://webdevstudios.com/
    2121 * Text Domain: custom-post-type-ui
    2222 * Domain Path: /languages
    2323 * License: GPL-2.0+
    24  * Requires at least: 6.3
     24 * Requires at least: 6.5
    2525 * Requires PHP: 7.4
    2626 */
     
    3434}
    3535
    36 define( 'CPT_VERSION', '1.16.0' ); // Left for legacy purposes.
    37 define( 'CPTUI_VERSION', '1.16.0' );
     36define( 'CPT_VERSION', '1.17.0' ); // Left for legacy purposes.
     37define( 'CPTUI_VERSION', '1.17.0' );
    3838define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
    3939
     
    247247    }
    248248    $min = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    249     wp_register_script( 'cptui', plugins_url( "build/cptui-scripts{$min}.js", __FILE__ ), [ 'jquery', 'jquery-ui-dialog', 'postbox' ], CPTUI_VERSION, true );
    250     wp_register_script( 'dashicons-picker', plugins_url( "build/dashicons-picker{$min}.js", __FILE__ ), [ 'jquery'], '1.0.0', true );
     249    wp_register_script( 'cptui', plugins_url( "build/cptui{$min}.js", __FILE__ ), [ 'jquery', 'jquery-ui-dialog', 'postbox' ], CPTUI_VERSION, true );
     250    wp_register_script( 'dashicons-picker', plugins_url( "build/dashiconsPicker{$min}.js", __FILE__ ), [ 'jquery'], '1.0.0', true );
    251251    wp_register_style( 'cptui-css', plugins_url( "build/cptui-styles{$min}.css", __FILE__ ), [ 'wp-jquery-ui-dialog' ], CPTUI_VERSION );
    252252}
  • custom-post-type-ui/trunk/inc/post-types.php

    r2990099 r3103726  
    323323                                esc_html__( 'Populate additional labels based on chosen labels', 'custom-post-type-ui' ) :
    324324                                esc_html__( 'Populate missing labels based on chosen labels', 'custom-post-type-ui' );
    325                             echo $ui->get_tr_end(); // phpcs:ignore.
     325                            echo $ui->get_tr_start( [ 'id' => 'autolabels', 'style' => 'display:none;' ] ); // phpcs:ignore.
    326326                            echo $ui->get_th_start() . esc_html__( 'Auto-populate labels', 'custom-post-type-ui' ) . $ui->get_th_end(); // phpcs:ignore.
    327327                            echo $ui->get_td_start(); // phpcs:ignore.
     
    22202220
    22212221    $reserved = [
     2222        'action',
     2223        'attachment',
     2224        'author',
     2225        'custom_css',
     2226        'customize_changeset',
     2227        'fields',
     2228        'nav_menu_item',
     2229        'oembed_cache',
     2230        'order',
     2231        'page',
    22222232        'post',
    2223         'page',
    2224         'attachment',
     2233        'post_type',
    22252234        'revision',
    2226         'nav_menu_item',
    2227         'action',
    2228         'order',
     2235        'sidebars',
    22292236        'theme',
    22302237        'themes',
    2231         'fields',
    2232         'custom_css',
    2233         'customize_changeset',
    2234         'author',
    2235         'post_type',
    2236         'oembed_cache',
    22372238        'user_request',
    22382239        'wp_block',
     2240        'wp_global_styles',
     2241        'wp_navigation',
    22392242        'wp_template',
    22402243        'wp_template_part',
    2241         'wp_global_styles',
    2242         'wp_navigation',
    22432244    ];
    22442245
  • custom-post-type-ui/trunk/inc/taxonomies.php

    r3067146 r3103726  
    327327                                    esc_html__( 'Populate additional labels based on chosen labels', 'custom-post-type-ui' ) :
    328328                                    esc_html__( 'Populate missing labels based on chosen labels', 'custom-post-type-ui' );
    329                             echo $ui->get_tr_end(); // phpcs:ignore.
     329                            echo $ui->get_tr_start( [ 'id' => 'autolabels', 'style' => 'display:none;' ] ); // phpcs:ignore.
    330330                            echo $ui->get_th_start() . esc_html__( 'Auto-populate labels', 'custom-post-type-ui' ) . $ui->get_th_end(); // phpcs:ignore.
    331331                            echo $ui->get_td_start(); // phpcs:ignore.
  • custom-post-type-ui/trunk/readme.txt

    r3067146 r3103726  
    22Contributors: webdevstudios, pluginize, tw2113, williamsba1
    33Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=3084056
    4 Tags: custom post types, post type, taxonomy, content types, CPT, CMS, post, types, custom
    5 Requires at least: 6.3
     4Tags: custom post types, post type, taxonomy, content types, types
     5Requires at least: 6.5
    66Tested up to: 6.5
    7 Stable tag: 1.16.0
     7Stable tag: 1.17.0
    88License: GPL-2.0+
    99Requires PHP: 7.4
     
    3232
    3333== Changelog ==
     34
     35= 1.17.0 - 2024-06-17 =
     36* Added: "sidebars" as a reserved slug for post types.
     37* Added: Blueprint for trying Custom Post Type UI on wordpress.org before installation.
     38* Updated: Reworked javascript files to be more modular with the build process.
    3439
    3540= 1.16.0 - 2024-04-08 =
     
    95100* Updated: Plugin branding.
    96101
    97 = 1.12.1 - 2022-05-16 =
    98 * Fixed: JSON decoding issues around WP-CLI import.
     102== Upgrade Notice ==
    99103
    100 = 1.12.0 - 2022-05-09 =
    101 * Added: Tested on WordPress 6.0.
    102 * Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
    103 * Added: "rest_namespace" parameters for both post types and taxonomies.
    104 * Added: "register_meta_box_cb" parameter for post types.
    105 * Fixed: undefined index notices for "can_export".
    106 * Updated: list of reserved taxonomy names with more that are considered reserved.
    107 * Updated: readme descriptions and screenshots.
    108 
    109 = 1.11.2 - 2022-03-21 =
    110 * Fixed: Unintended reuse of `$delete_with_user` variable and `can_export` option. Props @bogutskyy
    111 * Fixed: PHP notices around `sort` array index.
    112 
    113 = 1.11.1 - 2022-03-18 =
    114 * Fixed: Errors and warnings around array_key_exists() and bool values
    115 
    116 = 1.11.0 - 2022-03-17 =
    117 * Added: "sort" argument for taxonomies.
    118 * Added: "can export" argument for post types
    119 * Added: New taxonomy labels from WordPress 5.9
    120 * Added: Custom option to set "Enter title here" value for post types.
    121 * Added: Notes around "exclude from search" argument for post types and taxonomy term archives.
    122 * Added: Notes around taxonomy "hierarchical" option regarding category vs tag behavior.
    123 * Updated: Reserved post type slugs from recent WordPress releases.
    124 * Fixed: PHP warnings around foreach loops in cptui_published_post_format_fix()
    125 
    126 == Upgrade Notice ==
     104= 1.17.0 - 2024-06-17 =
     105* Added: "sidebars" as a reserved slug for post types.
     106* Added: Blueprint for trying Custom Post Type UI on wordpress.org before installation.
     107* Updated: Reworked javascript files to be more modular with the build process.
    127108
    128109= 1.16.0 - 2024-04-08 =
     
    188169* Updated: Plugin branding.
    189170
    190 = 1.12.1 - 2022-05-16 =
    191 * Fixed: JSON decoding issues around WP-CLI import.
    192 
    193 = 1.12.0 - 2022-05-09 =
    194 * Added: Tested on WordPress 6.0.
    195 * Added: Auto-check, but not force, "page-attributes" when setting a post type as hierarchical.
    196 * Added: "rest_namespace" parameters for both post types and taxonomies.
    197 * Added: "register_meta_box_cb" parameter for post types.
    198 * Fixed: undefined index notices for "can_export".
    199 * Updated: list of reserved taxonomy names with more that are considered reserved.
    200 * Updated: readme descriptions and screenshots.
    201 
    202 = 1.11.2 - 2022-03-21 =
    203 * Fixed: Unintended reuse of `$delete_with_user` variable and `can_export` option. Props @bogutskyy
    204 * Fixed: PHP notices around `sort` array index.
    205 
    206 = 1.11.1 - 2022-03-18 =
    207 * Fixed: Errors and warnings around array_key_exists() and bool values
    208 
    209 = 1.11.0 - 2022-03-17 =
    210 * Added: "sort" argument for taxonomies.
    211 * Added: "can export" argument for post types
    212 * Added: New taxonomy labels from WordPress 5.9
    213 * Added: Custom option to set "Enter title here" value for post types.
    214 * Added: Notes around "exclude from search" argument for post types and taxonomy term archives.
    215 * Added: Notes around taxonomy "hierarchical" option regarding category vs tag behavior.
    216 * Updated: Reserved post type slugs from recent WordPress releases.
    217 * Fixed: PHP warnings around foreach loops in cptui_published_post_format_fix()
    218 
    219171== Installation ==
    220172
Note: See TracChangeset for help on using the changeset viewer.