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
This commit is contained in:
dd32 2010-10-23 12:03:54 +00:00
parent 50e06d42ee
commit a3df4e07a5

View File

@ -36,9 +36,9 @@ echo '<?xml version="1.0"?'.">\n";
<body>
<?php
if ( empty($link_cat) )
$cats = get_categories(array('type' => '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);