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

Second argument of the_title filter is an Int not WP_Post. #1723

Merged
merged 2 commits into from
Dec 11, 2018

Conversation

lesterchan
Copy link
Contributor

The the_title applies this filter filter_the_title_in_post_list_table with two arguments. The second argument is wrong. It is an Int, not a WP_Post object. See https://codex.wordpress.org/Plugin_API/Filter_Reference/the_title

@westonruter westonruter added this to the v1.0.1 milestone Dec 11, 2018
@westonruter
Copy link
Member

See also #1725.

@westonruter westonruter changed the base branch from develop to 1.0 December 11, 2018 20:21
@westonruter westonruter merged commit 75cdb06 into ampproject:1.0 Dec 11, 2018
@westonruter westonruter mentioned this pull request Dec 11, 2018
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