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

Fix is_main_query() not registering when hooked onto pre_get_posts #9

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

rebeccahum
Copy link

The issue has been occurring since 2016: alleyinteractive#38

This PR duplicates the fix from alleyinteractive#84 until merged upstream. Another way to resolve the issue is to not use is_main_query() but in some cases, that's not possible.

@nickdaugherty nickdaugherty merged commit a809688 into master Oct 5, 2020
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