Skip to:
Content

BuddyPress.org

Opened 12 years ago

Closed 12 years ago

#2727 closed enhancement (wontfix)

allowing hyphens in blog names

Reported by: svenl77's profile svenl77 Owned by:
Milestone: 1.5 Priority: normal
Severity: Version: 1.2.6
Component: Blogs Keywords:
Cc:

Description

If you create blogs in the admin backend under blog-network/blogs, hyphens in blog names are allowed.
But if you create a blog from the frontend via the buddypress form, its restricted.
I think thats strange. Why buddypress stops using hyphens in blog names?
Can this be changed some how?
Thanks Sven

Change History (3)

#1 @r-a-y
12 years ago

  • Resolution set to wontfix
  • Status changed from new to closed

This is fundamentally a Wordpress MS issue.

Might want to post it on the Wordpress Trac.
http://core.trac.wordpress.org/

#2 @r-a-y
12 years ago

  • Resolution wontfix deleted
  • Status changed from closed to reopened

Oops... sorry didn't read carefully!
Apologies Sven!

Re-opened.

#3 @r-a-y
12 years ago

  • Resolution set to wontfix
  • Status changed from reopened to closed

Okay, just looked into this and BuddyPress does in fact use multisite's validation routine.

bp_core_validate_blog_signup() uses wpmu_validate_blog_signup() to check the blog URL pattern and wpmu_validate_blog_signup() doesn't allow hyphens. So it is indeed a Wordpress MS issue.

I'm guessing the MS admin backend doesn't use wpmu_validate_blog_signup() to check blog URLs when it should.

Note: See TracTickets for help on using tickets.