Changeset 2748290
- Timestamp:
- 06/27/2022 07:18:23 AM (4 years ago)
- Location:
- adjust-admin-categories
- Files:
-
- 3 edited
- 4 copied
-
tags/2.2.6 (copied) (copied from adjust-admin-categories/trunk)
-
tags/2.2.6/adjust-admin-categories.php (copied) (copied from adjust-admin-categories/trunk/adjust-admin-categories.php) (1 diff)
-
tags/2.2.6/includes/class-category-checklist.php (copied) (copied from adjust-admin-categories/trunk/includes/class-category-checklist.php) (2 diffs)
-
tags/2.2.6/readme.txt (copied) (copied from adjust-admin-categories/trunk/readme.txt) (1 diff)
-
trunk/adjust-admin-categories.php (modified) (1 diff)
-
trunk/includes/class-category-checklist.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
adjust-admin-categories/tags/2.2.6/adjust-admin-categories.php
r2748289 r2748290 5 5 Description: Installing this plugin allows you to adjust the behavior of the area below the posts screen categoryand custom taxonomy box. 6 6 Author: Nakashima Masahiro 7 Version: 2.2. 57 Version: 2.2.6 8 8 Author URI: https://www.kigurumi.asia 9 9 Text Domain: aac 10 10 Domain Path: /languages/ 11 11 */ 12 define( 'AAC_VERSION', '2.2. 5' );12 define( 'AAC_VERSION', '2.2.6' ); 13 13 define( 'AAC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); 14 14 define( 'AAC_PLUGIN_NAME', trim( dirname( AAC_PLUGIN_BASENAME ), '/' ) ); -
adjust-admin-categories/tags/2.2.6/includes/class-category-checklist.php
r2748289 r2748290 13 13 14 14 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 ) ); 16 16 return ( $children ); 17 17 } … … 71 71 72 72 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 ) ) { 74 74 $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" . 75 75 '<b>' . esc_html( apply_filters( 'the_category', $category->name ) ) . '</b>'; -
adjust-admin-categories/tags/2.2.6/readme.txt
r2748289 r2748290 5 5 Requires at least: 3.0 or higher 6 6 Tested up to: 6.0.0 7 Stable tag: 2.2. 57 Stable tag: 2.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html -
adjust-admin-categories/trunk/adjust-admin-categories.php
r2679514 r2748290 5 5 Description: Installing this plugin allows you to adjust the behavior of the area below the posts screen categoryand custom taxonomy box. 6 6 Author: Nakashima Masahiro 7 Version: 2.2. 57 Version: 2.2.6 8 8 Author URI: https://www.kigurumi.asia 9 9 Text Domain: aac 10 10 Domain Path: /languages/ 11 11 */ 12 define( 'AAC_VERSION', '2.2. 5' );12 define( 'AAC_VERSION', '2.2.6' ); 13 13 define( 'AAC_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); 14 14 define( 'AAC_PLUGIN_NAME', trim( dirname( AAC_PLUGIN_BASENAME ), '/' ) ); -
adjust-admin-categories/trunk/includes/class-category-checklist.php
r2468385 r2748290 13 13 14 14 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 ) ); 16 16 return ( $children ); 17 17 } … … 71 71 72 72 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 ) ) { 74 74 $output .= "\n<li id='{$taxonomy}-{$category->term_id}'$class>" . 75 75 '<b>' . esc_html( apply_filters( 'the_category', $category->name ) ) . '</b>'; -
adjust-admin-categories/trunk/readme.txt
r2748289 r2748290 5 5 Requires at least: 3.0 or higher 6 6 Tested up to: 6.0.0 7 Stable tag: 2.2. 57 Stable tag: 2.2.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.