Incorrect call of the_plugin filter
-
Hi,
In file
class-relevanssi-taxonomy-walker.php
at line 64 and 71, there is a call to ‘the_category’ filter.esc_html( apply_filters( 'the_category', $category->name ) ) . '</div>';
This filter as documented in
wp-includes/category-template.php
expects 3 arguments:/** * Filters the category or list of categories. * * @since 1.2.0 * * @param string $thelist List of categories for the current post. * @param string $separator Separator used between the categories. * @param string $parents How to display the category parents. Accepts 'multiple', * 'single', or empty. */
Would you mind updating the call to this plugin to give the correct amount of arguments ?
Thanks,
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Incorrect call of the_plugin filter’ is closed to new replies.