'sanitize_user' is a filter, not an action. fixes #25411.
Built from https://develop.svn.wordpress.org/trunk@25618 git-svn-id: http://core.svn.wordpress.org/trunk@25535 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
c2aa33de6a
commit
d50200d84d
|
@ -18,7 +18,7 @@ add_filter( 'wpmu_validate_user_signup', 'signup_nonce_check' );
|
|||
add_action( 'init', 'maybe_add_existing_user_to_blog' );
|
||||
add_action( 'wpmu_new_user', 'newuser_notify_siteadmin' );
|
||||
add_action( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
|
||||
add_action( 'sanitize_user', 'strtolower' );
|
||||
add_filter( 'sanitize_user', 'strtolower' );
|
||||
|
||||
// Blogs
|
||||
add_filter( 'wpmu_validate_blog_signup', 'signup_nonce_check' );
|
||||
|
|
Loading…
Reference in New Issue