Custom post types show up in search
|Reported by:||ryan||Owned by:||ryan|
Description (last modified by ryan)
Custom post types can show up in search results. Searches set the post_type to "any". "any" queries pull in all post types except "revision", which is special cased. We need a means for plugins to exclude their type from searches. Either they can set a custom post_status to avoid getting in the search query as a matter of policy or provide API for registering the type and excluding it more formally.