diff options
Diffstat (limited to 'wp-includes/bookmark-template.php')
-rw-r--r-- | wp-includes/bookmark-template.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-includes/bookmark-template.php b/wp-includes/bookmark-template.php index 4249f7f..e7a8480 100644 --- a/wp-includes/bookmark-template.php +++ b/wp-includes/bookmark-template.php @@ -165,7 +165,7 @@ function get_linkcatname($id = 0) { if ( empty($cats) || ! is_array($cats) ) return ''; - $cat_id = $cats[0]; // Take the first cat. + $cat_id = (int) $cats[0]; // Take the first cat. $cat = get_category($cat_id); return $cat->cat_name; |