Skip to:
Content

BuddyPress.org

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's profile DJPaul Owned by: boonebgorges's profile 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 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @DJPaul
15 years ago

  • Keywords needs-patch added

#2 @boonebgorges
15 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
15 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.