Opened 10 years ago
Closed 10 years ago
#6150 closed enhancement (fixed)
Filter numeric constants
Reported by: | slaFFik | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | good-first-bug has-patch needs-refresh |
Cc: |
Description
I believe this number:
if ( 5 <= bp_get_thread_recipients_count() ) {
should be a filterable value.
In bp_get_the_thread_recipients()
.
Also might be a good idea to search other such constants.
Attachments (1)
Change History (8)
#1
@
10 years ago
- Keywords needs-patch added
- Milestone changed from Awaiting Review to Future Release
- Type changed from defect (bug) to enhancement
#4
@
10 years ago
- Keywords has-patch added; needs-patch removed
Grateful if you could let me know if the .diff is OK. I generated it via Git from these instructions as opposed to the usual way via SVN.
Note: See
TracTickets for help on using
tickets.
The docs say the
bp_get_the_thread_recipients()
function is no longer used by BuddyPress since 2.2.0. Will a patch still be needed?