Make WordPress Core

Changeset 6308


Ignore:
Timestamp:
11/03/2007 04:09:30 PM (16 years ago)
Author:
westi
Message:

Allow wp-links-opml.php to return the links for just one category. Fixes #5295 props vrypan.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-links-opml.php

    r6195 r6308  
    2727    $cats = get_categories("type=link&hierarchical=0");
    2828else
    29     $cats = array (get_category($link_cat));
     29    $cats = get_categories('type=link&hierarchical=0&include='.$link_cat);
    3030
    3131foreach ((array) $cats as $cat) {
Note: See TracChangeset for help on using the changeset viewer.