Opened 4 years ago
Closed 3 years ago
#3310 closed defect (bug) (fixed)
inconsistent admin repair tools
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 2.6.6 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Tools | Keywords: | |
Cc: |
Description
bbp_admin_repair_forum_meta
removes all the_bbp_forum_id
and insert only those which related to thetopic
andreply
, ignoringforum
.bbp_admin_repair_freshness
callsbbp_update_forum
, which is callingbbp_update_forum_subforum_count
, which is callingbbp_get_public_child_count
, which is callingbbp_filter_child_counts_list
withforum
type. Which is 0 asbbp_admin_repair_forum_meta
didn't insert them.
So either bbp_admin_repair_forum_meta
needs to be updated to insert forum
info as well or bbp_filter_child_counts_list
should not use _bbp_forum_id
when calculating subforum counts.
Attachments (1)
Change History (10)
#2
@
4 years ago
- Component changed from General to Tools
- Keywords needs-unit-tests added
- Milestone changed from Awaiting Review to 2.6.4
- Owner set to netweb
- Status changed from new to assigned
#4
@
4 years ago
Your patch looks fine @ikovalyov
Though, if Git is more comfortable for you feel free to create any patches using Git
We have a mirror at https://github.com/bbpress/bbPress/ if that works for you to create Git patches :)
Note: See
TracTickets for help on using
tickets.
Thanks, I'll take a look at this in the coming days