Skip to content

Commit bc4c26a

Browse files
committed
Docs: Reorder docblock annotations for send_confirmation_on_profile_email().
Moves the `@param` annotation below `@global` per the documentation standards. Reviewed by joedolson, johnbillion. Merges r63173 to the 7.1 branch. Props peterwilsoncc, mukesh27. See #64896. git-svn-id: https://develop.svn.wordpress.org/branches/7.1@63189 602fd350-edb4-49c9-b593-d223f7449a82
1 parent b1cd037 commit bc4c26a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/wp-includes/user.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3860,9 +3860,9 @@ function _wp_get_current_user() {
38603860
* @since 4.9.0 This function was moved from wp-admin/includes/ms.php so it's no longer Multisite specific.
38613861
* @since 7.0.3 Added the `$user_id` parameter, which is sent with the `personal_options_update` action.
38623862
*
3863-
* @param int $user_id Optional. The ID of the user whose email is being changed. Defaults to `$_POST['user_id']` if set, otherwise 0.
3864-
*
38653863
* @global WP_Error $errors WP_Error object.
3864+
*
3865+
* @param int $user_id Optional. The ID of the user whose email is being changed. Defaults to `$_POST['user_id']` if set, otherwise 0.
38663866
*/
38673867
function send_confirmation_on_profile_email( $user_id = 0 ) {
38683868
global $errors;

0 commit comments

Comments
 (0)