• Hello, I’ve just noticed that the code at line 154 in src/Render.php

    $displayName = $this->plugin->applyFilters('utcw_render_term_display_name', $displayName, $term->name);

    would pass the term name as a second parameter but the corresponding applyFilters in src/Plugin.php at line 564 does not take it into account.

    So, I’ve replaced it with

    public function applyFilters($tag, $value, $param=null)
        {
            return apply_filters($tag, $value, $param);
        }

    As a suggestion, it would be useful to have a filter for the HTML element class as well…

    https://www.ads-software.com/plugins/ultimate-tag-cloud-widget/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘filter utcw_render_term_display_name’ is closed to new replies.