lightweight-term-count-update icon indicating copy to clipboard operation
lightweight-term-count-update copied to clipboard

Add WP_CLI command to redo all term counts

Open mboynes opened this issue 7 years ago • 4 comments

This would be a nice fallback fixer if a bug gets discovered down-the-road and reveals that term counts are now wrong.

mboynes avatar Mar 28 '17 16:03 mboynes

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.)

mattoperry avatar Mar 28 '17 18:03 mattoperry

@mattoperry : https://github.com/Automattic/lightweight-term-count-update/issues/6

david-binda avatar Mar 28 '17 18:03 david-binda

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.

mboynes avatar Mar 30 '17 21:03 mboynes

WP-CLI already has a command for this: https://developer.wordpress.org/cli/commands/term/recount/

johnbillion avatar Oct 23 '19 16:10 johnbillion