[wp-trac] [WordPress Trac] #6558: Searching Posts or Pages only with
post_type is broken
WordPress Trac
wp-trac at lists.automattic.com
Wed Apr 2 22:56:00 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 | Keywords: post_type, search posts
---------------------+------------------------------------------------------
As of version 2.5, Wordpress searches posts and pages by default. To
search posts only, I was recommended to use a hidden field named
"post_type" with a value of "post". I can confirm this does indeed *not*
work. The variable "post_type" seems to be getting cleared at some point
in the application. I've verified this through tests on a couple clean
installs of version 2.5.
--
Ticket URL: <http://trac.wordpress.org/ticket/6558>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list