#3173 closed enhancement (fixed)
Decouple bbp_admin_reset_handler handler
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 2.6 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Tools - Code Improvements | Keywords: | has-patch |
| Cc: |
Description
Right now, bbp_admin_reset_handler() cannot be used on CLI contexts because of its checks.
I didn't want to duplicate its functionality on https://github.com/bbpress/wp-cli-bbpress, so I decoupled this function to allow its usage there.
After this change is merged, I can call bbp_admin_reset_bbpress() on CLI.
Attachments (1)
Change History (5)
Note: See
TracTickets for help on using
tickets.
Relate to #3058.