[wp-trac] [WordPress Trac] #13081: Make $taxonomy optional in get_term_link()

WordPress Trac wp-trac at lists.automattic.com
Mon Apr 26 07:41:50 UTC 2010


#13081: Make $taxonomy optional in get_term_link()
-------------------------+--------------------------------------------------
 Reporter:  scribu       |       Owner:  filosofo 
     Type:  enhancement  |      Status:  new      
 Priority:  low          |   Milestone:  3.0      
Component:  Taxonomy     |     Version:           
 Severity:  normal       |    Keywords:  has-patch
-------------------------+--------------------------------------------------

Comment(by nacin):

 if !is_object($term) we would need to then return WP_Error if we don't get
 a $taxonomy either.

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


More information about the wp-trac mailing list