Pass the user parameter to the wpmu_validate_blog_signup filter and wpmu_validate_blog_signup()'s return array. props BrianLayman. fixes #17306.
git-svn-id: https://develop.svn.wordpress.org/trunk@21860 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
326731cdb3
commit
9da4708e6d
@ -608,7 +608,7 @@ function wpmu_validate_blog_signup($blogname, $blog_title, $user = '') {
|
||||
$errors->add('blogname', __('That site is currently reserved but may be available in a couple days.'));
|
||||
}
|
||||
|
||||
$result = array('domain' => $mydomain, 'path' => $path, 'blogname' => $blogname, 'blog_title' => $blog_title, 'errors' => $errors);
|
||||
$result = array('domain' => $mydomain, 'path' => $path, 'blogname' => $blogname, 'blog_title' => $blog_title, 'user' => $user, 'errors' => $errors);
|
||||
return apply_filters('wpmu_validate_blog_signup', $result);
|
||||
}
|
||||
|
||||
@ -1874,7 +1874,7 @@ function force_ssl_content( $force = '' ) {
|
||||
|
||||
/**
|
||||
* Formats a URL to use https.
|
||||
*
|
||||
*
|
||||
* Useful as a filter.
|
||||
*
|
||||
* @since 2.8.5
|
||||
|
Loading…
Reference in New Issue
Block a user