Ticket #3941 (closed defect (bug): fixed)

Opened 4 months ago

Last modified 3 months ago

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

Reported by: ebellempire Owned by:
Priority: normal Milestone: 1.6
Component: Blogs Version: 1.5.3
Severity: normal 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

  • 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.

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

(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.