Opened 10 years ago
Closed 10 years ago
#6451 closed defect (bug)
Group links & permalinks cleanup
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | major | Version: | 1.0 |
| Component: | Groups | Keywords: | early 2nd-opinion |
| Cc: |
Description
Improvements are necessary to bp-group-template.php:
- Output functions need to use
esc_url() - Should use
trailingslashit()andusertrailingslashit() - Logic should be broken out of
apply_filters()calls - Some functions missing filters
- Some functions have differing return/output parameters
- Missing PHPDoc blocks
- Using out-of-date functions & API's
- Code formatting improvements
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
6451.01.patch is a first pass at addressing all of these concerns for URL related groups template functions.
Worth noting that:
bp_get_group_join_button()