How to make a WP_Query search with custom post types?

You are right, I tried it in a clean WordPress install and it works.

Seems like one of the plugins I use in my environment is hooking itself in one of the pre-query events.

Thanks!

Leave a Comment