Opened 8 years ago
Closed 8 years ago
#3135 closed defect (bug) (duplicate)
Spamming, trashing, or unapproving a hidden reply should not change reply counts
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | Priority: | high | |
Severity: | major | Version: | |
Component: | API - Moderation | Keywords: | |
Cc: |
Description
- Create a topic with 1 pending reply.
- Topic replies count shows:
0 replies (+1 hidden)
. - Spam or Trash that reply without approving.
- Topic replies count shows:
0 replies (+2 hidden)
.
Same issue applies to forum replies count and forum topics count, I guess.
Caused by blindly updating the counts via includes/core/actions.php, without checking if the reply already has a non-public status.
Change History (4)
#1
@
8 years ago
- Keywords needs-patch needs-unit-tests good-first-bug added
- Milestone changed from Awaiting Review to Future Release
#2
@
8 years ago
- Milestone changed from Future Release to 2.6
- Owner set to johnjamesjacoby
- Priority changed from normal to high
- Severity changed from normal to major
This ticket was mentioned in Slack in #bbpress by jjj. View the logs.
8 years ago
Note: See
TracTickets for help on using
tickets.
This is a regression with the bump functions in 2.6, so let’s address this ASAP.