Permalink
Browse files

Change cat_name, cat_ID to name, term_id.

git-svn-id: http://svn.automattic.com/wordpress/trunk@5759 1a063a9b-81f0-0310-95a4-ce76da25c4cd
  • Loading branch information...
1 parent 5ebed51 commit 3dc720588b73e9b7be421f19005332a4e81991c8 ryan committed Jun 25, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 wp-links-opml.php
View
@@ -29,13 +29,13 @@
$cats = array (get_category($link_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); ?>">
<?php
- $bookmarks = get_bookmarks("category={$cat->cat_ID}");
+ $bookmarks = get_bookmarks("category={$cat->term_id}");
foreach ((array) $bookmarks as $bookmark) {
$title = attribute_escape(apply_filters('link_title', $bookmark->link_name));
?>

0 comments on commit 3dc7205

Please sign in to comment.