Opened 10 years ago
Closed 10 years ago
#7388 closed defect (bug) (fixed)
`bp_get_new_group_id()` should return an integer
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.8 |
| Component: | Groups | Version: | 1.9.2 |
| Severity: | normal | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
No objections here. Thanks for catching this.