WordPress.org

Making WordPress.org

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#2066 closed defect (fixed)

Resolved topics count is incorrect

Reported by: Clorith Owned by:
Milestone: Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

The widget on plugin pages showing how many topics are resolved in the last 2 months is currently not properly identifying the age of topics it seems.

Not been able to identify how it's misreading ages, but it seems like it might be based of the last activity in a thread, not the original creation time?

Change History (12)

#1 @nico23
3 years ago

For me its like looking for the last thread to be resolved but I cant find but when I new thread came up the unresolved count did not change. But it should have been if your theory would be true.

I think it may be something different then that.

https://wordpress.org/plugins/advanced-responsive-video-embedder/

I still at this point or writing have 1/2 threads resolved showing. marking the one unresolved thread as "not a support question" should get me a 1/1 counter. Apart form that not working I think I have more resolved threads then 2 in the last 2 month. I wish one could deactivate the damn forums here. I like to give free support on my own site where I have bugs as well (Anspress) but I own and control whats going on there.

Last edited 3 years ago by nico23 (previous) (diff)

#2 follow-up: @codeofconduct
3 years ago

My plugin has 0 of 10 threads marked as resolved, even though a decent number of the threads have been resolved. Note that it was legitimately 0 threads resolved before the bbPress upgrade; the threads were marked as resolved after the upgrade. For my plugin it kind of seems like the count is frozen in time.

#3 in reply to: ↑ 2 ; follow-up: @jkohlbach
3 years ago

Replying to codeofconduct:

My plugin has 0 of 10 threads marked as resolved, even though a decent number of the threads have been resolved. Note that it was legitimately 0 threads resolved before the bbPress upgrade; the threads were marked as resolved after the upgrade. For my plugin it kind of seems like the count is frozen in time.

I'm also seeing this "frozen in time" effect on https://wordpress.org/plugins/woocommerce-wholesale-prices/

The total number of support threads in the last 2 months is incorrect (we've had more than 3) and the number of unresolved threads is now 0, not 2.

The current stats that it's reporting on the plugin page are what we had just prior to the bbPress upgrade and the numbers haven't changed at all since that day regardless of activity on the support forum.

My theory is it's not pulling the data from the correct source at all.

Last edited 3 years ago by jkohlbach (previous) (diff)

#4 in reply to: ↑ 3 @codeofconduct
3 years ago

Replying to jkohlbach:

My theory is it's not pulling the data from the correct source at all.

One point in favor of that: my plugin now has 0 of 6 threads resolved. So the numbers aren't "frozen", they're slowly ticking down over time. It's just that they're not the right numbers :)

#5 @dd32
3 years ago

Looks like the script to calculate this data hasn't been updated to read from the bbPress2 tables after the forums migration.

The script isn't open sourced, so I'd include a chunk of it, but It wouldn't do much help reading it..

#6 @dd32
3 years ago

This should be fixed by [dotorg12504].
I've done a manual glance at a few plugins and everything looks correct, can those of you who were seeing incorrect numbers check it's fixed for you?

#7 @jkohlbach
3 years ago

Looks good on my end so far!

#8 @codeofconduct
3 years ago

This is fixed for my plugin. Thanks so much!

#9 @wfasa
3 years ago

I just tested this and I can't seem to get the total number to update. When I set a thread to resolved it is not immediately reflected on the first page. Is there a delay in this number being updated? Thanks!

#10 @Clorith
3 years ago

  • Resolution set to fixed
  • Status changed from new to closed

@wfasa That's expected, there's caching in place so numbers won't instantly update anywhere on the front end.

Can confirm it's working as expected now, marking as fixed.

#11 @dd32
3 years ago

Just a quick note - This used to be relatively instant with the bbPress1 forums, the _plugin-support-listing.php plugin handled updating the plugin directory with the updated data when it was updated.

There's room for it to be made instant again, but right now it's being updated every ~20 minutes via cron.

#12 @Clorith
3 years ago

I'd say the wait isn't a terrible problem, so whichever option is most beneficial performance wise across the board should be the one we stick to

Note: See TracTickets for help on using tickets.