Automattic / lightweight-term-count-update

Makes term count updates less painful
GNU General Public License v2.0
27 stars 8 forks source link

Add WP_CLI command to redo all term counts #3

Open mboynes opened 7 years ago

mboynes commented 7 years ago

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

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

david-binda commented 7 years ago

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

mboynes commented 7 years ago

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.

johnbillion commented 5 years ago

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