Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Chouby

    (@chouby)

    Hi Jory!

    It’s a bug in WordPress Download Manager. A function hooked to a filter which doesn’t return anything and thus breaks all other functions hooke to the same filter.

    In download-manager/admin/menus/class.Categories.php, replace

    
        function categoryIDColumnData($c, $column_name, $term_id) {
    
            if ($column_name == 'tag_ID') {
                echo $term_id;
            }
        }
    

    by

    
        function categoryIDColumnData($c, $column_name, $term_id) {
    
            if ($column_name == 'tag_ID') {
                return $term_id;
            }
            return $c;
        }
    
    Thread Starter Jory Hogeveen

    (@keraweb)

    Hi @chouby

    Good catch! I’ll report this to them, thank you!

    Cheers, Jory

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Incompatibility with Download Manager categories’ is closed to new replies.