Skip to content

Commit c59df25

Browse files
Docs: Add missing descriptions for some user function parameters.
Follow-up to [32642], [32654], [34021]. Props huzaifaalmesbah. See #64224. git-svn-id: https://develop.svn.wordpress.org/trunk@61538 602fd350-edb4-49c9-b593-d223f7449a82
1 parent 449d7de commit c59df25

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/wp-admin/includes/user.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ function wp_revoke_user( $id ) {
482482
/**
483483
* @since 2.8.0
484484
*
485-
* @global int $user_ID
485+
* @global int $user_ID Current user ID.
486486
*
487487
* @param false $errors Deprecated.
488488
*/
@@ -505,8 +505,8 @@ function default_password_nag_handler( $errors = false ) {
505505
/**
506506
* @since 2.8.0
507507
*
508-
* @param int $user_ID
509-
* @param WP_User $old_data
508+
* @param int $user_ID User ID.
509+
* @param WP_User $old_data The user object before the update.
510510
*/
511511
function default_password_nag_edit_user( $user_ID, $old_data ) {
512512
// Short-circuit it.
@@ -602,7 +602,7 @@ function use_ssl_preference( $user ) {
602602
/**
603603
* @since MU (3.0.0)
604604
*
605-
* @param string $text
605+
* @param string $text The email body text.
606606
* @return string User site invitation email message.
607607
*/
608608
function admin_created_user_email( $text ) {

0 commit comments

Comments
 (0)