[wp-meta] [Making WordPress.org] #4577: Change page that shows topics with no replies on Support Forum
Making WordPress.org
noreply at wordpress.org
Wed Dec 30 13:54:20 UTC 2020
#4577: Change page that shows topics with no replies on Support Forum
----------------------------------+---------------------
Reporter: felipeloureirosantos | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Support Forums | Resolution:
Keywords: |
----------------------------------+---------------------
Comment (by vladytimy):
There is a scenario in which the proposed patch {{{_bbp_voice_count ==
1}}} fails.
When a spammer has his replies deleted ** _bbp_voice_count does not
update** accordingly. Only _bbp_reply_count updates.
[[Image(https://i.ibb.co/DG5SHp7/bbp-voice-count.jpg")]]
So we have either:
* {{{_bbp_voice_count = 2}}} (OP + spammer) & {{{_bbp_reply_count = 0}}}
(if OP didn't reply)
* {{{_bbp_voice_count = 2}}} (OP + spammer) & {{{_bbp_reply_count >0}}}
(if OP replied)
So even {{{_bbp_voice_count == 1 OR _bbp_reply_count <1}}} query fails in
2nd case.
I couldn't find a ticket to address updating _bbp_voice_count after a user
is blocked. Will create one.
Fixing that would make Marius previous solution valid in (hopefully) all
cases.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/4577#comment:14>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list