Change cat_name, cat_ID to name, term_id.
git-svn-id: https://develop.svn.wordpress.org/trunk@5759 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
58655ffa52
commit
777fad0a11
@ -29,13 +29,13 @@ else
|
|||||||
$cats = array (get_category($link_cat));
|
$cats = array (get_category($link_cat));
|
||||||
|
|
||||||
foreach ((array) $cats as $cat) {
|
foreach ((array) $cats as $cat) {
|
||||||
$catname = apply_filters('link_category', $cat->cat_name);
|
$catname = apply_filters('link_category', $cat->name);
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<outline type="category" title="<?php echo attribute_escape($catname); ?>">
|
<outline type="category" title="<?php echo attribute_escape($catname); ?>">
|
||||||
<?php
|
<?php
|
||||||
|
|
||||||
$bookmarks = get_bookmarks("category={$cat->cat_ID}");
|
$bookmarks = get_bookmarks("category={$cat->term_id}");
|
||||||
foreach ((array) $bookmarks as $bookmark) {
|
foreach ((array) $bookmarks as $bookmark) {
|
||||||
$title = attribute_escape(apply_filters('link_title', $bookmark->link_name));
|
$title = attribute_escape(apply_filters('link_title', $bookmark->link_name));
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user