Reply count off by one after deleting a reply

jamal jamal 2 months ago Resolved

Steps to reproduce: create a topic with three replies, delete one. The space listing still shows three replies on the topic.

It corrects itself after running wp jetonomy recount, so it looks like the denormalized counter isn't decremented on delete. WordPress 6.9, single site.

18

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

Appreciate the clear steps. The dry-run tip in particular saved me from a mistake I would not have caught otherwise.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

The importer preserves original dates and maps forums to spaces. Always run with --dry-run first to preview counts, take a database backup, then run the real import. It batches large datasets so timeouts are not a concern.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

I respectfully disagree on one detail. In my setup the opposite held true, though I suspect it comes down to community size.

This is the answer I wish I had found six months ago. Would have saved me a weekend of trial and error.

Great point. I had not considered the angle you raised in the second paragraph — it reframes the whole thing for me.

Thanks for writing this up. Bookmarking it — the kind of thing I will want to reference again in a month.

This matches my experience exactly. The hard part is staying consistent once the initial novelty wears off.

Click Any Link Below To Find Out More

This will close in 0 seconds