From 777fad0a11a32512bed6935f2c4ccbd8fbf98d55 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 25 Jun 2007 21:37:47 +0000 Subject: [PATCH] Change cat_name, cat_ID to name, term_id. git-svn-id: https://develop.svn.wordpress.org/trunk@5759 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-links-opml.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-links-opml.php b/wp-links-opml.php index 1929eec9ef..5f97a5e768 100644 --- a/wp-links-opml.php +++ b/wp-links-opml.php @@ -29,13 +29,13 @@ else $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); ?> cat_ID}"); + $bookmarks = get_bookmarks("category={$cat->term_id}"); foreach ((array) $bookmarks as $bookmark) { $title = attribute_escape(apply_filters('link_title', $bookmark->link_name)); ?>