[wp-trac] [WordPress Trac] #11847: wp_tag_cloud counts terms attached to future posts when used with custom taxonomies
WordPress Trac
wp-trac at lists.automattic.com
Sat Jan 9 22:01:18 UTC 2010
#11847: wp_tag_cloud counts terms attached to future posts when used with custom
taxonomies
--------------------------+-------------------------------------------------
Reporter: fwiffo | Owner: filosofo
Type: defect (bug) | Status: reopened
Priority: normal | Milestone: Future Release
Component: Taxonomy | Version: 2.9.1
Severity: normal | Resolution:
Keywords: |
--------------------------+-------------------------------------------------
Changes (by dd32):
* milestone: Unassigned => Future Release
Comment:
The problem with this is, That the count is only of the terms usage, So if
a term is used on an attachment, draft post, page, or published post,
it'll increment that counter.
unfortunately, that leads to the problem whereby, the term is used, but
not on a visible object.
On the term archive, Its a different story, That ignores the count field,
it queries wp_posts directly for all the posts that match (criteria,
published post, etc) and exist within the (term of taxonomy) relationship
table.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/11847#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list