Skip to content
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

Account for the_title filter used with only one arg #105

Conversation

jeremyfelt
Copy link
Contributor

In some cases, apply_filters( 'the_title' ... ) is called by other plugins without passing the post ID. We should fallback to null and skip title processing when this is the case.

Introduced in 54d017c.

In some cases, `apply_filters( 'the_title' ... )` is called by
plugins without passing the post ID. We should fallback to `null`
and skip title processing when this is the case.
@jeremyfelt jeremyfelt merged commit 552ea72 into wp-document-revisions:master Nov 7, 2017
@jeremyfelt jeremyfelt deleted the support-one-arg-title-filter branch November 7, 2017 21:16
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.

None yet

2 participants