Opened 17 years ago
Closed 17 years ago
#1251 closed defect (bug) (fixed)
Create Blog options not hidden when disabled in WPMU
| Reported by: | DJPaul | Owned by: | boonebgorges |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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.