[wp-trac] [WordPress Trac] #18270: get_the_ID() returns term_id rather than term_taxonomy_id

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 27 18:53:19 UTC 2011


#18270: get_the_ID() returns term_id rather than term_taxonomy_id
-------------------------------+------------------------------
 Reporter:  GeorgeStephanis    |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Taxonomy           |     Version:
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |
-------------------------------+------------------------------
Changes (by scribu):

 * keywords:   => reporter-feedback


Comment:

 Erm, get_the_ID() only returns a post id.

 Did you mean get_queried_object_id()?

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


More information about the wp-trac mailing list