Opened 15 years ago
Closed 15 years ago
#1251 closed defect (bug) (fixed)
Create Blog options not hidden when disabled in WPMU
Reported by: | DJPaul | Owned by: | boonebgorges |
---|---|---|---|
Milestone: | 1.2 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | has-patch | |
Cc: |
Description
The Create Blog options are not hidden when blog registration is disabled in WPMU.
1) The Buddy Bar > My Account > Blogs > Create a blog
2) http://yoursite.com/members/yourname/blogs/ Blogs > Create a blog
Issue discussed on http://buddypress.org/forums/topic/limit-blog-creation-to-admins and reported by elemsee.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
I wrote a little helper function bp_can_create_blogs that is mostly just a piecing together of the same check in WPMU's wp-signup.php and then made the subnav item appear only when that function returns true for the logged in user.