mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
Sub-categories interface improvements.
git-svn-id: https://develop.svn.wordpress.org/trunk@799 602fd350-edb4-49c9-b593-d223f7449a82
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