[wp-trac] [WordPress Trac] #11711: tag_id Doesn't Work in WP_Query

WordPress Trac wp-trac at lists.automattic.com
Mon Jan 4 20:57:42 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:      
--------------------------+-------------------------------------------------
 WP_Query::parse_query() stores a value in {{{$qv['tag_id']}}} but it does
 not query the tag name, and WP_Query::get_posts() never checks the tag_id
 value.  Thus, this variable does nothing.

 I noticed this while working on #10640.  The tag_id variable could be
 useful for the specific purpose of URL shortening where long tag slugs may
 be problematic (e.g. micro-blogging).

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/11711>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list