[buddypress-trac] [BuddyPress Trac] #7070: Unique group names should not use random integer
buddypress-trac
noreply at wordpress.org
Tue May 17 20:48:24 UTC 2016
#7070: Unique group names should not use random integer
--------------------------------+----------------------------
Reporter: boonebgorges | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Component - Groups | Version:
Severity: normal | Keywords: needs-patch
--------------------------------+----------------------------
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.)
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/7070>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list