WordPress.org

Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #18270


Ignore:
Timestamp:
07/27/2011 06:59:49 PM (7 years ago)
Author:
scribu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18270

    • Property Summary changed from get_the_ID() returns term_id rather than term_taxonomy_id to get_cat_ID() returns term_id rather than term_taxonomy_id
  • Ticket #18270 – Description

    initial v3  
    1 get_the_ID() currently returns the wrong value for a category id.  It's giving the term id rather than the term taxonomy id.
     1get_cat_ID() currently returns the wrong value for a category id.  It's giving the term id rather than the term taxonomy id.
    22
    33As the category ID is the term_taxonomy_id -- I believe that this is just legacy code from before the term_id and term_taxonomy_id were separated.