[wp-trac] [WordPress Trac] #22556: A taxonomy archive query for attachments can't return results
WordPress Trac
noreply at wordpress.org
Wed Dec 19 20:03:34 UTC 2012
#22556: A taxonomy archive query for attachments can't return results
--------------------------+-----------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Query | Version: 3.5
Severity: normal | Resolution:
Keywords: 3.6-early |
--------------------------+-----------------------------
Comment (by jfarthing84):
Just encountered this myself. It seems to me the best approach would be to
treat attachments more like regular post types, in that all post statuses
should be available to them as well. That way, if it's status is set to
inherit, we can assume to check the parent for it's status. Likewise, if
it is set as publish, treat it as it's own post - no need to do the status
join.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22556#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list