[buddypress-trac] [BuddyPress Trac] #7388: `bp_get_new_group_id()` should return an integer
buddypress-trac
noreply at wordpress.org
Tue Dec 13 02:45:09 UTC 2016
#7388: `bp_get_new_group_id()` should return an integer
--------------------------+-------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 2.8
Component: Groups | Version: 1.9.2
Severity: normal | Keywords: 2nd-opinion
--------------------------+-------------------------
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?
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7388>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list