[wp-trac] [WordPress Trac] #11711: tag_id Doesn't Work in WP_Query
WordPress Trac
wp-trac at lists.automattic.com
Mon Jan 4 21:11:53 UTC 2010
#11711: tag_id Doesn't Work in WP_Query
--------------------------+-------------------------------------------------
Reporter: miqrogroove | Owner: ryan
Type: defect (bug) | Status: new
Priority: normal | Milestone: 3.0
Component: Query | Version:
Severity: normal | Keywords:
--------------------------+-------------------------------------------------
Comment(by miqrogroove):
Leaving as "defect" because parse_query() is accepting a parameter that
does not work.
Adding, however, that the lack of tag_id support in get_posts() appears to
be by design and is not a bug in itself. Since the HTML class names of
tags are like "tag-slug" rather than "tag-item-id", the ID numbers are
currently a semi-private reference system. Website guests would have no
use for ID queries, except within a plugin feature such as URL shortening.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11711#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list