Reply count off by one after deleting a reply

Jamal Reed Jamal Reed 2 weeks 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.

3

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

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

We ran into the same situation last quarter. What worked for us was starting small and only adding complexity when a real need showed up.

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

Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.

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

Strong agree. Good defaults beat a wall of toggles every single time.

Adding a small note: the same idea applies on mobile, just with a bit more attention to tap targets.

Strong agree. Good defaults beat a wall of toggles every single time.

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.

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

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.

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

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

Adding a small note: the same idea applies on mobile, just with a bit more attention to tap targets.

Strong agree. Good defaults beat a wall of toggles every single time.

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

Solid breakdown. The only thing I would add is to back up before making the change — better safe than sorry.

For what it is worth, the same approach works with the PMPro adapter — the membership side is identical from here.

Could you say more about how you measured the result? I want to try this but I am not sure what success would look like.

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.

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

Adding a small note: the same idea applies on mobile, just with a bit more attention to tap targets.

One caveat for larger communities: keep an eye on the indexes. At a few thousand rows the difference is night and day.

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

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