Plugin Directory

Changeset 2748290


Ignore:
Timestamp:
06/27/2022 07:18:23 AM (4 years ago)
Author:
kanakogi
Message:

2.2.6

Location:
adjust-admin-categories
Files:
3 edited
4 copied

Legend:

Unmodified
Added
Removed
  • adjust-admin-categories/tags/2.2.6/adjust-admin-categories.php

    r2748289 r2748290  
    55Description: Installing this plugin allows you to adjust the behavior of the area below the posts screen categoryand custom taxonomy box.
    66Author: Nakashima Masahiro
    7 Version: 2.2.5
     7Version: 2.2.6
    88Author URI: https://www.kigurumi.asia
    99Text Domain: aac
    1010Domain Path: /languages/
    1111*/
    12 define( 'AAC_VERSION', '2.2.5' );
     12define( 'AAC_VERSION', '2.2.6' );
    1313define( 'AAC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    1414define( 'AAC_PLUGIN_NAME', trim( dirname( AAC_PLUGIN_BASENAME ), '/' ) );
  • adjust-admin-categories/tags/2.2.6/includes/class-category-checklist.php

    r2748289 r2748290  
    1313
    1414    function category_has_children( $term_id = 0, $taxonomy = 'category' ) {
    15         $children = get_terms( $taxonomy, array( 'child_of' => $term_id  ) );
     15        $children = get_terms( $taxonomy, array( 'child_of' => $term_id, 'hide_empty' => false ) );
    1616        return ( $children );
    1717    }
     
    7171
    7272            if($this->checklist_no_top == true){
    73                 if( $category->parent == 0 || $this->category_has_children( $category->term_id, $category->taxonomy ) ) {
     73                if( $this->category_has_children( $category->term_id, $category->taxonomy ) ) {
    7474                    $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" .
    7575                            '<b>' . esc_html( apply_filters( 'the_category', $category->name ) ) . '</b>';
  • adjust-admin-categories/tags/2.2.6/readme.txt

    r2748289 r2748290  
    55Requires at least: 3.0 or higher
    66Tested up to: 6.0.0
    7 Stable tag: 2.2.5
     7Stable tag: 2.2.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
  • adjust-admin-categories/trunk/adjust-admin-categories.php

    r2679514 r2748290  
    55Description: Installing this plugin allows you to adjust the behavior of the area below the posts screen categoryand custom taxonomy box.
    66Author: Nakashima Masahiro
    7 Version: 2.2.5
     7Version: 2.2.6
    88Author URI: https://www.kigurumi.asia
    99Text Domain: aac
    1010Domain Path: /languages/
    1111*/
    12 define( 'AAC_VERSION', '2.2.5' );
     12define( 'AAC_VERSION', '2.2.6' );
    1313define( 'AAC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
    1414define( 'AAC_PLUGIN_NAME', trim( dirname( AAC_PLUGIN_BASENAME ), '/' ) );
  • adjust-admin-categories/trunk/includes/class-category-checklist.php

    r2468385 r2748290  
    1313
    1414    function category_has_children( $term_id = 0, $taxonomy = 'category' ) {
    15         $children = get_terms( $taxonomy, array( 'child_of' => $term_id  ) );
     15        $children = get_terms( $taxonomy, array( 'child_of' => $term_id, 'hide_empty' => false ) );
    1616        return ( $children );
    1717    }
     
    7171
    7272            if($this->checklist_no_top == true){
    73                 if( $category->parent == 0 || $this->category_has_children( $category->term_id, $category->taxonomy ) ) {
     73                if( $this->category_has_children( $category->term_id, $category->taxonomy ) ) {
    7474                    $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" .
    7575                            '<b>' . esc_html( apply_filters( 'the_category', $category->name ) ) . '</b>';
  • adjust-admin-categories/trunk/readme.txt

    r2748289 r2748290  
    55Requires at least: 3.0 or higher
    66Tested up to: 6.0.0
    7 Stable tag: 2.2.5
     7Stable tag: 2.2.6
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.