Changeset 26493 for trunk/src/wp-admin/user-new.php
- Timestamp:
- 12/01/2013 01:34:15 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/user-new.php
r25880 r26493 118 118 } else { 119 119 /** 120 * Filter the user_login, a kathe username, before it is added to the site.120 * Filter the user_login, also known as the username, before it is added to the site. 121 121 * 122 * @since 3.0.0122 * @since 2.0.3 123 123 * 124 * @param string $ _REQUEST['user_login']The sanitized username.124 * @param string $user_login The sanitized username. 125 125 */ 126 126 $new_user_login = apply_filters( 'pre_user_login', sanitize_user( wp_unslash( $_REQUEST['user_login'] ), true ) ); … … 190 190 191 191 /** 192 * Allows you to enable user auto-complete for non-super admins in multisite.192 * Filter whether to enable user auto-complete for non-super admins in Multisite. 193 193 * 194 194 * @since 3.4.0 195 195 * 196 * @param bool True or false, based on if you enable auto-complete for non-super admins. Default isfalse.196 * @param bool $enable Whether to enable auto-complete for non-super admins. Default false. 197 197 */ 198 198 if ( is_multisite() && current_user_can( 'promote_users' ) && ! wp_is_large_network( 'users' ) … … 288 288 */ 289 289 ?> 290 <form action="" method="post" name="adduser" id="adduser" class="validate"<?php do_action( 'user_new_form_tag');?>>290 <form action="" method="post" name="adduser" id="adduser" class="validate"<?php do_action( 'user_new_form_tag' );?>> 291 291 <input name="action" type="hidden" value="adduser" /> 292 292 <?php wp_nonce_field( 'add-user', '_wpnonce_add-user' ) ?> … … 321 321 * @since 3.7.0 322 322 * 323 * @param string A contextual string specifying which type of new user form the hook follows.323 * @param string $type A contextual string specifying which type of new user form the hook follows. 324 324 */ 325 325 do_action( 'user_new_form', 'add-existing-user' ); … … 335 335 ?> 336 336 <p><?php _e('Create a brand new user and add them to this site.'); ?></p> 337 <?php 338 /** This action is documented in wp-admin/user-new.php */ 339 ?> 340 <form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action('user_new_form_tag');?>> 337 <?php /** This action is documented in wp-admin/user-new.php */ ?> 338 <form action="" method="post" name="createuser" id="createuser" class="validate"<?php do_action( 'user_new_form_tag' );?>> 341 339 <input name="action" type="hidden" value="createuser" /> 342 340 <?php wp_nonce_field( 'create-user', '_wpnonce_create-user' ); ?> … … 383 381 * @since 1.5.1 384 382 * 385 * @param bool True or false, based on if you want to show the password fields. Default istrue.383 * @param bool $show Whether to show the password fields. Default true. 386 384 */ 387 385 if ( apply_filters( 'show_password_fields', true ) ) : ?>
Note: See TracChangeset
for help on using the changeset viewer.