Make WordPress Core

Ticket #4870: category.php.patch

File category.php.patch, 378 bytes (added by hovenko, 18 years ago)

Patch for the file wp-includes/category.php

  • .

     
    109109                $children = _get_category_hierarchy();
    110110                if ( ! empty($children) )
    111111                        $categories = & _get_cat_children($child_of, $categories);
     112                elseif ($child_of) {
     113                        return array();
     114                }
    112115        }
    113116
    114117        // Update category counts to include children.