Opened 8 years ago
Closed 8 years ago
#7388 closed defect (bug) (fixed)
`bp_get_new_group_id()` should return an integer
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.8 | Priority: | normal |
Severity: | normal | Version: | 1.9.2 |
Component: | Groups | Keywords: | commit |
Cc: |
Description
Since [7790], it's returned a string, because it's passed through esc_attr()
. We should sanitize using intval()
instead.
This is technically a compatibility break, but it was fairly recently introduced and, I think, it's for proper reasons. Any objections to changing it?
Change History (3)
Note: See
TracTickets for help on using
tickets.
No objections here. Thanks for catching this.