Skip to:
Content

BuddyPress.org

Opened 10 years ago

Closed 10 years ago

#3941 closed defect (bug) (fixed)

"Create a new site" link at wp-admin/my-sites.php redirects to network homepage

Reported by: ebellempire Owned by:
Milestone: 1.6 Priority: normal
Severity: normal Version: 1.5.3
Component: Blogs Keywords:
Cc:

Description

WordPress Network blog creation link points to wp-signup.php.

BuddyPress redirects this link to the network homepage.

Suggested fix/enhancement:

add_filter('wp_signup_location', 'bp_blog_creation_link');
function bp_blog_creation_link($old) {
     return get_bloginfo('url').'/blogs/create/';
}

Change History (2)

#1 @DJPaul
10 years ago

  • Component changed from Core to Blogs
  • Milestone changed from Awaiting Review to 1.6

Wondering if we should revisit the whole redirect from wp-signup.php issue.

#2 @boonebgorges
10 years ago

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

(In [5770]) Introduces bp-blogs-filters.php.
Introduces bp_blogs_creation_location(), to ensure that the 'Create a new blog' link at Dashboard > My Sites goes to the BP blogs creation URL.
Fixes #3941.
Props ebellempire for the initial patch.

Note: See TracTickets for help on using tickets.