[wp-trac] Re: [WordPress Trac] #6558: Searching Posts or Pages only
with post_type is broken
WordPress Trac
wp-trac at lists.automattic.com
Thu Apr 3 00:53:43 GMT 2008
#6558: Searching Posts or Pages only with post_type is broken
-------------------------------------+--------------------------------------
Reporter: urbanor | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Resolution:
Keywords: post_type, search posts |
-------------------------------------+--------------------------------------
Comment (by mtekk):
I played around with this and found that something like:
http://site/?post_type=post&?s=foo will work when searching for foo, it
will only search posts, if they are the other way around it does not work
(posts and pages are included in the search results). So I think that
hidden field needs to come before the normal text entry field.
--
Ticket URL: <http://trac.wordpress.org/ticket/6558#comment:1>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list