Skip to:

Opened 9 years ago

#2894 new defect (bug)

Replace direct SQL query in `bbp_get_all_child_ids()` with `WP_Query()` object

Reported by: netweb's profile netweb Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version: 2.0
Component: General - Performance Keywords: has-unit-tests needs-patch



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

Attachments (1)

2894.diff (11.1 KB) - added by netweb 9 years ago.

Download all attachments as: .zip

Change History (1)

9 years ago

Note: See TracTickets for help on using tickets.