WordPress.org

Make WordPress Core


Ignore:
Timestamp:
10/23/2013 02:37:54 PM (7 years ago)
Author:
ryan
Message:

Pinking shears

File:
1 edited

Legend:

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

    r25868 r25880  
    117117            $add_user_errors = $user_details[ 'errors' ];
    118118        } else {
    119             /** 
     119            /**
    120120             * Filter the user_login, aka the username, before it is added to the site.
    121              * 
     121             *
    122122             * @since 3.0.0
    123              * 
    124              * @param string $_REQUEST['user_login'] The sanitized username. 
    125              */ 
     123             *
     124             * @param string $_REQUEST['user_login'] The sanitized username.
     125             */
    126126            $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) );
    127127            if ( isset( $_POST[ 'noconfirmation' ] ) && is_super_admin() ) {
     
    189189wp_enqueue_script('user-profile');
    190190
    191 /** 
     191/**
    192192 * Allows you to enable user auto-complete for non-super admins in multisite.
    193  * 
     193 *
    194194 * @since 3.4.0
    195  * 
     195 *
    196196 * @param bool True or false, based on if you enable auto-complete for non-super admins. Default is false.
    197  */ 
     197 */
    198198if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' )
    199199    && ( is_super_admin() || apply_filters( 'autocomplete_users_for_site_admins', false ) )
     
    282282?>
    283283<?php
    284 /** 
     284/**
    285285 * Fires inside the adduser form tag.
    286  * 
     286 *
    287287 * @since 3.0.0
    288  */ 
     288 */
    289289?>
    290290<form action="" method="post" name="adduser" id="adduser" class="validate"<?php do_action('user_new_form_tag');?>>
     
    377377        <td><input name="url" type="text" id="url" class="code" value="<?php echo esc_attr($new_user_uri); ?>" /></td>
    378378    </tr>
    379 <?php 
    380 /** 
     379<?php
     380/**
    381381 * Filter the display of the password fields.
    382  * 
     382 *
    383383 * @since 1.5.1
    384  * 
     384 *
    385385 * @param bool True or false, based on if you want to show the password fields. Default is true.
    386  */ 
     386 */
    387387if ( apply_filters( 'show_password_fields', true ) ) : ?>
    388388    <tr class="form-field form-required">
Note: See TracChangeset for help on using the changeset viewer.