[wp-trac] [WordPress Trac] #17592: 'exclude_from_search' excludes from non-search queries

WordPress Trac wp-trac at lists.automattic.com
Mon Nov 21 20:41:32 UTC 2011


#17592: 'exclude_from_search' excludes from non-search queries
--------------------------+-----------------------------
 Reporter:  danblaker     |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Query         |     Version:  3.1.2
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |
--------------------------+-----------------------------

Comment (by duck_):

 Replying to [comment:7 ryan]:
 > Introduced in r13052 and as far as I recall was done on purpose.

 And r11998 for the post_type query variable.

 I ran across this whilst testing a term archive for a custom taxonomy
 registered to a custom post type with exclude_from_search == false (public
 => false, but publicly_queryable => true).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/17592#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list