Change cat_name, cat_ID to name, term_id.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-06-25 21:37:47 +00:00
parent 5ebed51846
commit 3dc720588b
1 changed files with 2 additions and 2 deletions

View File

@ -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));
?> ?>