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
This commit is contained in:
parent
0658668634
commit
3ad33720e4
@ -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
Block a user