Open mboynes opened 7 years ago
Also noting that a recount could happen for an individual term whenever it is edited (so that if a single term's count needed to be fixed via UI that could happen.)
I put together a separate plugin for this for the time being, https://github.com/alleyinteractive/term-count-audit/. It's mainly a helper for me while I test out this plugin, and most of the script seemed overkill for this plugin for the long haul.
WP-CLI already has a command for this: https://developer.wordpress.org/cli/commands/term/recount/
This would be a nice fallback fixer if a bug gets discovered down-the-road and reveals that term counts are now wrong.