Forums

[Plugin: Wordpress Download Monitor] get_option_children_cats() - small fix (2 posts)

  1. nano_mike
    Member
    Posted 7 months ago #

    Great Plugin - Thank-you very much.
    I just upgraded to the latest version and remembered a small fix I had to do and thought this time I would pass it along..

    in the file wp-download-monitor.php line [888] in the function get_option_children_cats I changed:

    $string.= get_option_children_cats($c->id, "$chain$c->name — ",$current);

    to:

    $string.= get_option_children_cats($c->id, "$chain$c->name — ",$current,$showid);

    Simply adding the $showid variable, without it, if you have a deep nesting of categories (3+ I think) then the ID's start showing up where they shouldn't when used with the legacy tag [#advanced_downloads].

    Thanx Again!!

  2. jolley_small
    Member
    Posted 7 months ago #

    Cheers, noted.

Reply

You must log in to post.

About this Topic