Sub-categories interface improvements.
git-svn-id: http://svn.automattic.com/wordpress/trunk@799 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -1460,7 +1460,7 @@ function get_category_parents($id, $link=FALSE, $separator=' / ', $nicename=FALS
|
||||
|
||||
function get_category_children($id, $before=' / ', $after='') {
|
||||
global $tablecategories, $cache_categories;
|
||||
$c_cache=$cache_categories;#can't do recursive foreach on a global, have to make a copy
|
||||
$c_cache=$cache_categories; // Can't do recursive foreach on a global, have to make a copy
|
||||
$chain = "";
|
||||
foreach ($c_cache as $category){
|
||||
if ($category->category_parent == $id){
|
||||
|
||||
Reference in New Issue
Block a user