Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/wp-admin/includes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,8 +169,8 @@ function edit_user( $user_id = 0 ) {
* @since 1.5.1
*
* @param string $user_login The username.
* @param string $pass1 The password (passed by reference).
* @param string $pass2 The confirmed password (passed by reference).
* @param string $pass1 The password (passed by reference).
* @param string $pass2 The confirmed password (passed by reference).
*/
do_action_ref_array( 'check_passwords', array( $user->user_login, &$pass1, &$pass2 ) );

Expand Down Expand Up @@ -717,7 +717,7 @@ function wp_is_authorize_application_redirect_url_valid( $url ) {
* @since 6.3.2
*
* @param string[] $bad_protocols Array of invalid protocols.
* @param string $url The redirect URL to be validated.
* @param string $url The redirect URL to be validated.
*/
$invalid_protocols = apply_filters( 'wp_authorize_application_redirect_url_invalid_protocols', $bad_protocols, $url );
$invalid_protocols = array_map( 'strtolower', $invalid_protocols );
Expand Down
2 changes: 1 addition & 1 deletion src/wp-admin/user-edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -931,7 +931,7 @@
*
* @since 2.8.0
*
* @param bool $enable Whether to display the capabilities. Default true.
* @param bool $enable Whether to display the capabilities. Default true.
* @param WP_User $profile_user The current WP_User object.
*/
$display_additional_caps = apply_filters( 'additional_capabilities_display', true, $profile_user );
Expand Down
8 changes: 4 additions & 4 deletions src/wp-admin/user-new.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,17 +154,17 @@
*
* @since 5.6.0
*
* @param array $new_user_email {
* @param array $new_user_email {
* Used to build wp_mail().
*
* @type string $to The email address of the invited user.
* @type string $subject The subject of the email.
* @type string $message The content of the email.
* @type string $headers Headers.
* }
* @param int $user_id The invited user's ID.
* @param array $role Array containing role information for the invited user.
* @param string $newuser_key The key of the invitation.
* @param int $user_id The invited user's ID.
* @param array $role Array containing role information for the invited user.
* @param string $newuser_key The key of the invitation.
*
*/
$new_user_email = apply_filters( 'invited_user_email', $new_user_email, $user_id, $role, $newuser_key );
Expand Down
2 changes: 1 addition & 1 deletion src/wp-includes/class-wp-session-tokens.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ final public function create( $expiration ) {
*
* @since 4.0.0
*
* @param string $token Session token to update.
* @param string $token Session token to update.
* @param array $session Session information.
*/
final public function update( $token, $session ) {
Expand Down
14 changes: 7 additions & 7 deletions src/wp-includes/ms-functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1851,16 +1851,16 @@ function wpmu_new_site_admin_notification( $site_id, $user_id ) {
*
* @since 5.6.0
*
* @param array $new_site_email {
* @param array $new_site_email {
* Used to build wp_mail().
*
* @type string $to The email address of the recipient.
* @type string $subject The subject of the email.
* @type string $message The content of the email.
* @type string $headers Headers.
* }
* @param WP_Site $site Site object of the new site.
* @param WP_User $user User object of the administrator of the new site.
* @param WP_Site $site Site object of the new site.
* @param WP_User $user User object of the administrator of the new site.
*/
$new_site_email = apply_filters( 'new_site_email', $new_site_email, $site, $user );

Expand Down Expand Up @@ -2940,7 +2940,7 @@ function wp_network_admin_email_change_notification( $option_name, $new_email, $
*
* @since 4.9.0
*
* @param array $email_change_email {
* @param array $email_change_email {
* Used to build wp_mail().
*
* @type string $to The intended recipient.
Expand All @@ -2953,9 +2953,9 @@ function wp_network_admin_email_change_notification( $option_name, $new_email, $
* - `###SITEURL###` The URL to the site.
* @type string $headers Headers.
* }
* @param string $old_email The old network admin email address.
* @param string $new_email The new network admin email address.
* @param int $network_id ID of the network.
* @param string $old_email The old network admin email address.
* @param string $new_email The new network admin email address.
* @param int $network_id ID of the network.
*/
$email_change_email = apply_filters( 'network_admin_email_change_email', $email_change_email, $old_email, $new_email, $network_id );

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public function get_url_list( $page_num, $object_subtype = '' ) {
* @since 5.5.0
*
* @param array[]|null $url_list The URL list. Default null.
* @param int $page_num Page of results.
* @param int $page_num Page of results.
*/
$url_list = apply_filters(
'wp_sitemaps_users_pre_url_list',
Expand Down
4 changes: 2 additions & 2 deletions src/wp-includes/user.php
Original file line number Diff line number Diff line change
Expand Up @@ -2595,7 +2595,7 @@ function wp_insert_user( $userdata ) {
* @since 4.4.0
* @since 5.8.0 The `$userdata` parameter was added.
*
* @param array $meta {
* @param array $meta {
* Default meta values and keys for the user.
*
* @type string $nickname The user's nickname. Default is the user's username.
Expand Down Expand Up @@ -3458,7 +3458,7 @@ function retrieve_password( $user_login = '' ) {
*
* @since 6.0.0
*
* @param array $defaults {
* @param array $defaults {
* The default notification email arguments. Used to build wp_mail().
*
* @type string $to The intended recipient - user email address.
Expand Down
Loading