From 3ad33720e4d6c44a18d719322ee63937237957f5 Mon Sep 17 00:00:00 2001 From: Dion Hulse 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: https://develop.svn.wordpress.org/trunk@15926 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 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);