mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
Use array calling style. Props Denis-de-Bernardy. see #6647
git-svn-id: https://develop.svn.wordpress.org/trunk@12515 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -374,7 +374,7 @@ EOD;
|
||||
$home = esc_attr(get_bloginfo_rss('home'));
|
||||
|
||||
$categories = "";
|
||||
$cats = get_categories("hierarchical=0&hide_empty=0");
|
||||
$cats = get_categories(array('hierarchical' => 0, 'hide_empty' => 0));
|
||||
foreach ((array) $cats as $cat) {
|
||||
$categories .= " <category term=\"" . esc_attr($cat->name) . "\" />\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user