Opened 10 years ago
Closed 10 years ago
#6139 closed defect (bug) (fixed)
Member type slug is not sanitized in bp_register_member_type()
Reported by: | boonebgorges | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 2.2 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Core | Keywords: | |
Cc: |
Description
As reported by Offereins in #6138. register_post_type()
etc run the primary type key through sanitize_slug()
. This was left out of bp_register_member_type()
, but it should be added for consistency, and to make sure we don't cause any problems with PHP's array functions by having keys with non-standard characters.
Change History (1)
Note: See
TracTickets for help on using
tickets.
In 9371: