WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #21391, comment 42


Ignore:
Timestamp:
09/22/2012 09:04:09 AM (6 years ago)
Author:
ocean90
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #21391, comment 42

    initial v1  
    33
    44I can reproduce this in 3.4.2 on Chrome too. Please open a separate ticket.
     5
     6Replying to [comment:41 DrewAPicture]:
     7> * Custom taxonomy term counts on attachments appear to indicate precisely half the actual count, e.g. 6 associated attachments, displays as 3. 1 attached displays as 0 and so on.
     8
     9Which `update_count_callback` did you use? `_update_generic_term_count` should work, since the default one has some special status checks, see [http://core.trac.wordpress.org/browser/trunk/wp-includes/taxonomy.php#L2931 _update_post_term_count]