Make WordPress Core

Opened 6 years ago

Last modified 5 months ago

#50082 new defect (bug)

Item count is not increasing after adding category

Reported by: askaryabbas Owned by:
Priority: normal Milestone: Future Release
Component: Taxonomy Version: 5.5
Severity: normal Keywords: dev-feedback has-patch has-unit-tests
Cc: Focuses: ui, javascript, administration

Description

I found the number of categories count is not increasing after adding a category for any post types.
Please review this issue.
Screenshot: https://prntscr.com/saugwy

Attachments (1)

Screenshot at May 04 23-36-10.png (125.7 KB ) - added by askaryabbas 6 years ago.

Download all attachments as: .zip

Change History (7)

#1 @Otto42
6 years ago

  • Component TaxonomyAdministration
  • Focuses ui javascript added
  • Severity majornormal

Confirmed, the JS that updates the table dynamically does not update that item count, on either adding or deleting entries. Same thing happens on the "Tags" pages.

Refreshing the whole page will refresh the item count as well.

#2 @askaryabbas
6 years ago

@Otto42,

Thanks for replying.
Yes right, I understand the refreshing page will show the real item count.
What if users adding and deleting multiple categories, tags? they doesn't know the real item counts.
Categories, Tags add and delete actions should update item counts.

#3 @whyisjake
6 years ago

  • Version 5.4.1trunk

#4 @SergeyBiryukov
6 years ago

  • Component AdministrationTaxonomy

Moving back to the Taxonomy component, as Administration only exists as a catch-all for tickets that don't have a more specific component.

#5 @whyisjake
6 years ago

  • Milestone Awaiting ReviewFuture Release

This ticket was mentioned in PR #11536 on WordPress/wordpress-develop by @atharvaa2001.


5 months ago
#6

  • Keywords has-patch has-unit-tests added

Trac ticket: https://core.trac.wordpress.org/ticket/50082

Taxonomy: Update item count dynamically after adding or deleting a term.

## Use of AI Tools

Note: See TracTickets for help on using tickets.