Opened 11 years ago
Closed 11 years ago
#6139 closed defect (bug) (fixed)
Member type slug is not sanitized in bp_register_member_type()
| Reported by: | boonebgorges | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | normal | Milestone: | 2.2 |
| Component: | Core | Version: | |
| Severity: | normal | 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.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In 9371: