[wp-trac] [WordPress Trac] #6459: Pages get the ID of the Default
Post Category, conflict with in_category template tag
WordPress Trac
wp-trac at lists.automattic.com
Sun Mar 30 02:38:22 GMT 2008
#6459: Pages get the ID of the Default Post Category, conflict with in_category
template tag
----------------------+-----------------------------------------------------
Reporter: PozHonks | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.5.1
Component: General | Version: 2.5
Severity: normal | Keywords: pages category term_taxonomy_id
----------------------+-----------------------------------------------------
Pages are marked with the term_taxonomy_id of the Default Post Category
ID.
If the Default Post Category ID is 8, in a template, when I use the
in_category(8) template tag in the Loop and displaying a Page, the
in_category(8) template tag is activated, thus showing what is reserved to
posts belonging to category ID 8.
Pages should get a term_taxonomy_id = 0 or nothing.
--
Ticket URL: <http://trac.wordpress.org/ticket/6459>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list