Plugins that filter parts of WP_Query to modify results - such as WPML - are stymied by the fact that we use get_posts() (with suppress_filters=true) instead of a direct WP_Query.
We could switch to using WP_Query, as in this PR. It's likely to have side effects. IMO it seems like the unwanted side effects of usingWP_Query are fewer (and easier to predict, and easier to fix) than the side effects of not doing so. But @dcavins , would love your second opinion.
Plugins that filter parts of
WP_Query
to modify results - such as WPML - are stymied by the fact that we useget_posts()
(withsuppress_filters=true
) instead of a directWP_Query
.We could switch to using
WP_Query
, as in this PR. It's likely to have side effects. IMO it seems like the unwanted side effects of usingWP_Query
are fewer (and easier to predict, and easier to fix) than the side effects of not doing so. But @dcavins , would love your second opinion.