From 3dc720588b73e9b7be421f19005332a4e81991c8 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 25 Jun 2007 21:37:47 +0000 Subject: [PATCH] Change cat_name, cat_ID to name, term_id. git-svn-id: http://svn.automattic.com/wordpress/trunk@5759 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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)); ?>