Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 10 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)

remove-create-blog-link.patch (3.1 KB) - added by boonebgorges 11 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
11 years ago

  • Keywords needs-patch added

#2 @boonebgorges
11 years ago

  • Keywords has-patch added; needs-patch removed
  • Owner set to boonebgorges
  • Status changed from new to assigned

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.

#3 @apeatling
10 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

This seems to be fixed in the trunk.

Note: See TracTickets for help on using tickets.