Skip to:
Content
Pages
Categories
Search
Top
Bottom

bbpress 2.1 broke fetch_feed function

  • @darkhorse20

    Member

    On some of my pages, I’m using the fetch_feed function to take the bbPress RSS feed to display the list items. After installing 2.1, none of the feeds are working anymore. Here’s the code I’m using:


    get_item_quantity(3);
    $items = $feed->get_items(0, $limit);
    }
    if ($limit == 0) echo 'The feed is either empty or unavailable.';
    else foreach ($items as $item) : ?>
    <a href="get_permalink(); ?>" title="get_date('j F Y @ g:i a'); ?>">get_title(); ?>get_description(), 13, 140); ?> <a href="get_permalink(); ?>">>>

    Any idea why it’s not working anymore?

Viewing 5 replies - 1 through 5 (of 5 total)
  • @darkhorse20

    Member

    Oops, the code got parsed funky. Basically, I’m using a variation of the code on this page: https://codex.wordpress.org/Function_Reference/fetch_feed

    @darkhorse20

    Member

    To make things even clearer:

    Before 2.1, the feed was showing up fine.

    After 2.1, instead of the feed showing up, now it says “The feed is either empty or unavailable.”, indicating the feed is empty. But it’s not empty because the feed is showing up when I view it in my browser.

    @johnjamesjacoby

    Keymaster

    That’s annoying. Can you create a trac ticket over on bbpress.trac.wordpress.org, and I’ll check it out for 2.1.1?

    @darkhorse20

    Member

    John, a trac ticket has been submitted here: https://bbpress.trac.wordpress.org/ticket/1896

    @johnjamesjacoby

    Keymaster

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar