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:
parent
50e06d42ee
commit
a3df4e07a5
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue