Apply filters to calendar post titles (1 post)

  1. Boriel
    Posted 10 years ago #

    If your post-titles needs to be filtered (i.e. you're using polyglot for multilingual wordpress blogs), the filter won't be applied for the calendar post titles.

    I suggest to insert this in line #564 in file wp-includes/template-functions-general.php:

    $ak_titles_for_day[$day] = apply_filters('the_title', $ak_titles_for_day[$day]);

    Thus any filter applied for the post title will be also applied on the calendar.

Topic Closed

This topic has been closed to new replies.

About this Topic