Skip to content

Still run the_title filters on post titles. #61

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

methnen
Copy link

@methnen methnen commented Apr 22, 2015

The title used by the widget is built out of the title value returned by the_title_attribute method. This is likely to make it easier to truncate the titles.

The draw back to this is that the titles then never pass through the the_title filters which is a problem if the title has any values that should really be entities or that need any type of escaping. It also causes problems for any other plugins that rely on that filter hook for their own functionality.

This small change fixes that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants