Ticket #16051: taxonomy-childs.patch
File taxonomy-childs.patch, 660 bytes (added by , 13 years ago) |
---|
-
wp-includes/taxonomy.php
Property changes on: . ___________________________________________________________________ Added: svn:ignore + wp-config.php .htaccess sql_log.txt
2623 2623 return array(); 2624 2624 $children = get_option("{$taxonomy}_children"); 2625 2625 2626 if ( is_array($children) )2626 if ( is_array($children) && !empty($children) ) 2627 2627 return $children; 2628 2628 $children = array(); 2629 2629 $terms = get_terms($taxonomy, array('get' => 'all', 'orderby' => 'id', 'fields' => 'id=>parent'));