Make WordPress Core


Ignore:
Timestamp:
01/16/2019 05:28:56 AM (6 years ago)
Author:
pento
Message:

Docs: Remove duplicate docblocks for the pre_user_login and link_category filters.

Props coffee2code.
Fixes #45308.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-new.php

    r43571 r44612  
    166166            $add_user_errors = $user_details['errors'];
    167167        } else {
    168             /**
    169              * Filters the user_login, also known as the username, before it is added to the site.
    170              *
    171              * @since 2.0.3
    172              *
    173              * @param string $user_login The sanitized username.
    174              */
     168            /** This filter is documented in wp-includes/user.php */
    175169            $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) );
    176170            if ( isset( $_POST['noconfirmation'] ) && current_user_can( 'manage_network_users' ) ) {
Note: See TracChangeset for help on using the changeset viewer.