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

  1. nano_mike
    Posted 7 years 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);


    $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. Mike
    Posted 7 years ago #

    Cheers, noted.

Topic Closed

This topic has been closed to new replies.

About this Topic