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

Passing a WP_Query instance for the renderer causes issues #39

Open
villesiltala opened this issue Jun 17, 2017 · 0 comments
Open

Passing a WP_Query instance for the renderer causes issues #39

villesiltala opened this issue Jun 17, 2017 · 0 comments
Assignees

Comments

@villesiltala
Copy link

If a model passes a reference of a WP_Query class object for the renderer, opening the object context in a Dust template causes the query to be run again with default arguments. Would it be possible to provide some kind of warning of this happening or a mechanism to prevent this from altogether?

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

No branches or pull requests

2 participants