From d16e2bc2b11b7d870de1aa0e1caa00c17e82e28e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 25 Sep 2013 03:13:19 +0000 Subject: [PATCH] 'sanitize_user' is a filter, not an action. fixes #25411. git-svn-id: https://develop.svn.wordpress.org/trunk@25618 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/ms-default-filters.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wp-includes/ms-default-filters.php b/src/wp-includes/ms-default-filters.php index c4c223a4f7..9d5da57f3e 100644 --- a/src/wp-includes/ms-default-filters.php +++ b/src/wp-includes/ms-default-filters.php @@ -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' );