Skip to:
Content

BuddyPress.org

Opened 3 years ago

#7070 new defect (bug)

Unique group names should not use random integer

Reported by: boonebgorges Owned by:
Milestone: Awaiting Contributions Priority: normal
Severity: normal Version:
Component: Groups Keywords: needs-patch
Cc:

Description

If there's a group foo and you try to create another group foo, your new group will have a slug like foo-43983498 - we append a random number to the end. See groups_check_slug(). This is terrible.

We should:

  1. Increment (-2, -3, etc) instead of using a random number. This is much friendlier.
  2. Add something to the UI that warns the user about the conflict and urges them to choose another name. (This should probably be a separate ticket.)

Change History (0)

Note: See TracTickets for help on using tickets.