From a3df4e07a58dc97cd1374bd1b328c98626e7bf10 Mon Sep 17 00:00:00 2001 From: dd32 Date: Sat, 23 Oct 2010 12:03:54 +0000 Subject: [PATCH] Do not use deprecated argument in wp-links-opml.php. See #15195 git-svn-id: http://svn.automattic.com/wordpress/trunk@15926 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 069d7a5ff4..e8aed950bb 100644 --- a/wp-links-opml.php +++ b/wp-links-opml.php @@ -36,9 +36,9 @@ echo '\n"; 'link', 'hierarchical' => 0)); + $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0)); else - $cats = get_categories(array('type' => 'link', 'hierarchical' => 0, 'include' => $link_cat)); + $cats = get_categories(array('taxonomy' => 'link_category', 'hierarchical' => 0, 'include' => $link_cat)); foreach ( (array)$cats as $cat ) : $catname = apply_filters('link_category', $cat->name);