dustpress icon indicating copy to clipboard operation
dustpress copied to clipboard

Passing a WP_Query instance for the renderer causes issues

Open villesiltala opened this issue 8 years ago • 0 comments

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?

villesiltala avatar Jun 17 '17 15:06 villesiltala