mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 22:30:04 +00:00
Castaways on Gilligan's Isle
git-svn-id: https://develop.svn.wordpress.org/trunk@5090 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -165,8 +165,7 @@ function get_linkcatname($id = 0) {
|
||||
if ( empty($cats) || ! is_array($cats) )
|
||||
return '';
|
||||
|
||||
$cat_id = (int)
|
||||
$cats[0]; // Take the first cat.
|
||||
$cat_id = (int) $cats[0]; // Take the first cat.
|
||||
|
||||
$cat = get_category($cat_id);
|
||||
return $cat->cat_name;
|
||||
|
||||
Reference in New Issue
Block a user