Opened 11 years ago
#2894 new defect (bug)
Replace direct SQL query in `bbp_get_all_child_ids()` with `WP_Query()` object
| Reported by: | netweb | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | General - Performance | Version: | 2.0 |
| Severity: | normal | Keywords: | has-unit-tests needs-patch |
| Cc: |
Description
Via https://bbpress.trac.wordpress.org/ticket/1799#comment:37
Per the original patch proposals (1799.3.patch, 1799.2.patch, and 1799.patch) was to also replace direct MySQL queries in bbp_get_all_child_ids() with WP_Query() objects as per [5954].
Currently this cannot be achieved because WP_Query() ignores bbPress spam custom post status (possibly others)
See: WP_Query#Status_Parameters and wordpress.org/support/topic/wp_query
Attachments (1)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)