[buddypress-trac] [BuddyPress Trac] #6139: Member type slug is not sanitized in bp_register_member_type()

buddypress-trac noreply at wordpress.org
Mon Jan 19 13:48:44 UTC 2015


#6139: Member type slug is not sanitized in bp_register_member_type()
--------------------------+-----------------
 Reporter:  boonebgorges  |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  2.2
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------
 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.

--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/6139>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list