mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-10-06 07:36:58 +00:00
Warning fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@9475 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -62,7 +62,7 @@ function get_category_link( $category_id ) {
|
||||
return $category;
|
||||
$category_nicename = $category->slug;
|
||||
|
||||
if ( $parent == $category_id ) // recursive recursion
|
||||
if ( $category->parent == $category_id ) // recursive recursion
|
||||
$category->parent = 0;
|
||||
|
||||
if ( $parent = $category->parent )
|
||||
|
||||
Reference in New Issue
Block a user