WordPress.org

Make WordPress Core

Changeset 25618


Ignore:
Timestamp:
09/25/2013 03:13:19 AM (8 years ago)
Author:
SergeyBiryukov
Message:

'sanitize_user' is a filter, not an action. fixes #25411.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/ms-default-filters.php

    r24915 r25618  
    1919add_action( 'wpmu_new_user', 'newuser_notify_siteadmin' );
    2020add_action( 'wpmu_activate_user', 'add_new_user_to_blog', 10, 3 );
    21 add_action( 'sanitize_user', 'strtolower' );
     21add_filter( 'sanitize_user', 'strtolower' );
    2222
    2323// Blogs
Note: See TracChangeset for help on using the changeset viewer.