Opened 7 months ago
Closed 7 months ago
#2008 closed defect (fixed)
bbp_get_replies_per_page needs to return an int, not an absint
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Replies | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
bbPress Threaded Replies uses a filter on bbp_get_replies_per_page to return a value of -1, fetching all replies in a topic to thread them. Having absint() run on the filtered value means that -1 becomes 1. Typecast to int instead.
Attachments (1)
Change History (3)
comment:1
johnjamesjacoby — 7 months ago
- Milestone changed from Awaiting Review to 2.2
comment:2
johnjamesjacoby — 7 months ago
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
(In [4331]) Code Improvement: