Plugin Directory

Changeset 3192355


Ignore:
Timestamp:
11/19/2024 02:12:42 PM (13 months ago)
Author:
webdevstudios
Message:

release version 1.17.2

Location:
custom-post-type-ui
Files:
45 added
3 edited

Legend:

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

    r3108739 r3192355  
    1717 * Description: Admin UI panel for registering custom post types and taxonomies
    1818 * Author: WebDevStudios
    19  * Version: 1.17.1
     19 * Version: 1.17.2
    2020 * Author URI: https://webdevstudios.com/
    2121 * Text Domain: custom-post-type-ui
     
    3434}
    3535
    36 define( 'CPT_VERSION', '1.17.1' ); // Left for legacy purposes.
    37 define( 'CPTUI_VERSION', '1.17.1' );
     36define( 'CPT_VERSION', '1.17.2' ); // Left for legacy purposes.
     37define( 'CPTUI_VERSION', '1.17.2' );
    3838define( 'CPTUI_WP_VERSION', get_bloginfo( 'version' ) );
    3939
  • custom-post-type-ui/trunk/inc/tools.php

    r2948753 r3192355  
    398398                    if ( ! empty( $cptui_post_types ) ) {
    399399                        foreach ( $cptui_post_types as $type => $values ) {
    400                             $cptui_post_types[ $type ]['description'] = wp_slash( html_entity_decode( $values['description'] ) );
     400                            if ( ! empty( $values['description'] ) ) {
     401                                $cptui_post_types[ $type ]['description'] = wp_slash( html_entity_decode( $values['description'] ) );
     402                            }
    401403                        }
    402404                        $content = wp_json_encode( $cptui_post_types );
     
    440442                    if ( ! empty( $cptui_taxonomies ) ) {
    441443                        foreach ( $cptui_taxonomies as $tax => $values ) {
    442                             $cptui_taxonomies[ $tax ]['description'] = wp_slash( html_entity_decode( $values['description'] ) );
     444                            if ( ! empty( $values['description'] ) ) {
     445                                $cptui_taxonomies[ $tax ]['description'] = wp_slash( html_entity_decode( $values['description'] ) );
     446                            }
    443447                        }
    444448                        $content = wp_json_encode( $cptui_taxonomies );
  • custom-post-type-ui/trunk/readme.txt

    r3108739 r3192355  
    44Tags: custom post types, post type, taxonomy, content types, types
    55Requires at least: 6.5
    6 Tested up to: 6.5.5
    7 Stable tag: 1.17.1
     6Tested up to: 6.7
     7Stable tag: 1.17.2
    88License: GPL-2.0+
    99Requires PHP: 7.4
     
    3232
    3333== Changelog ==
     34
     35= 1.17.2 - 2024-11-19 =
     36* Fixed: PHP warnings around empty description variables from tools page.
     37* Updated: Confirmed compatibility with WordPress 6.7
    3438
    3539= 1.17.1 - 2024-06-27 =
     
    105109== Upgrade Notice ==
    106110
     111= 1.17.2 - 2024-11-19 =
     112* Fixed: PHP warnings around empty description variables from tools page.
     113* Updated: Confirmed compatibility with WordPress 6.7
     114
    107115= 1.17.1 - 2024-06-27 =
    108116* Fixed: Missed re-showing of autolabel fill links for js enabled browsers.
Note: See TracChangeset for help on using the changeset viewer.