[wp-trac] [WordPress Trac] #32942: Taxomony term list counts do not respect post_type parameter

WordPress Trac noreply at wordpress.org
Sat May 17 14:09:24 UTC 2025


#32942: Taxomony term list counts do not respect post_type parameter
-------------------------------------------------+-------------------------
 Reporter:  stueynet                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Future
                                                 |  Release
Component:  Taxonomy                             |     Version:  3.1
 Severity:  normal                               |  Resolution:
 Keywords:  changes-requested needs-design-      |     Focuses:  ui,
  feedback 2nd-opinion                           |  administration
-------------------------------------------------+-------------------------
Changes (by SirLouen):

 * keywords:  reporter-feedback has-patch needs-testing => changes-requested
     needs-design-feedback 2nd-opinion


Comment:

 In fact, I don't really understand why the Count column makes sense at
 all. I see this as a bug: Count should be straightly associated to the
 combination of post_type of the view (i.e., Taxonomies for the given CPT),
 and the number of posts in such post_type with the taxonomy associated.

 Despite this is not hard-coded, logically-wise taxonomy and post-type
 should be almost an index pair.

 [[Image(https://i.imgur.com/XGGor8V.png)]]

 From my standpoint, I can't understand what it is the usefulness of the
 "Count" column (specially when there is technically no `posts` view when
 you can just filter by Taxonomy).

 If not agreement is found, I suggest raising this in the next `<dev-
 chat>`. Don't remove `2nd-opinion`/`needs-design-feedback` workflow
 keywords until there is some sort of consensus.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/32942#comment:42>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list