[wp-trac] [WordPress Trac] #14438: Allow term_id in Wp_query

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 28 03:23:09 UTC 2010


#14438: Allow term_id in Wp_query
-------------------------+--------------------------------------------------
 Reporter:  DreadLox     |       Owner:                 
     Type:  enhancement  |      Status:  new            
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Query        |     Version:                 
 Severity:  major        |    Keywords:                 
-------------------------+--------------------------------------------------

Comment(by nacin):

 I somewhat followed the wp-hackers chain and came to this quick conclusion
 --

 I'm not sure if term_id is necessary. Regardless, I would much rather add
 an argument to get_associated_nav_menu_items(), or a new function, that
 achieves what you want, which is to restrict by menu.

 It is much better to *not* rely on the internal storage mechanism, and
 instead focus on how we can improve the API you should rely on.

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


More information about the wp-trac mailing list