[wp-trac] Re: [WordPress Trac] #4913: Future posts cause term count
to increase
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 22 13:17:55 GMT 2007
#4913: Future posts cause term count to increase
---------------------+------------------------------------------------------
Reporter: Otto42 | Owner: anonymous
Type: defect | Status: new
Priority: normal | Milestone: 2.4
Component: General | Version: 2.3
Severity: major | Resolution:
Keywords: |
---------------------+------------------------------------------------------
Comment (by MichaelH):
The 4913.diff doesn't seem to fix the problem in 2.4-bleeding.
When the post gets published, neither the Tag Cloud widget or the Category
widget reflect the tag or the category. Using {{{wp_tag_cloud('')}}} in
sidebar.php shows no value. Using
{{{wp_list_categories('hide_empty=0&show_count=1')}}} in sidebar.php shows
zero (0) count for the category.
The WordPress Default 1.6 theme's index.php, using {{{the_tags('Tags: ',
', ', '<br />')}}} and {{{the_category(', ')}}}, DOES show the tag and
category.
Editing and saving the post does 'fix' the counts, including showing the
proper value in the count field in term_taxonomy for both tag and
category.
Looks like the same results with 2.3 when the fix is put into the line 831
area of wp-includes/post.php.
--
Ticket URL: <http://trac.wordpress.org/ticket/4913#comment:4>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list