Skip to content

Commit a76e922

Browse files
committed
Users: Improve documentation for edit_user_profile and show_user_profile actions.
This clarifies when and in which context these actions fire. Props akshat2802. Fixes #62062. git-svn-id: https://develop.svn.wordpress.org/trunk@60679 602fd350-edb4-49c9-b593-d223f7449a82
1 parent f40b60d commit a76e922

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/wp-admin/user-edit.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -891,7 +891,7 @@
891891
<?php
892892
if ( IS_PROFILE_PAGE ) {
893893
/**
894-
* Fires after the 'About Yourself' settings table on the 'Profile' editing screen.
894+
* Fires after the 'Application Passwords' section is loaded on the 'Profile' editing screen.
895895
*
896896
* The action only fires if the current user is editing their own profile.
897897
*
@@ -902,7 +902,9 @@
902902
do_action( 'show_user_profile', $profile_user );
903903
} else {
904904
/**
905-
* Fires after the 'About the User' settings table on the 'Edit User' screen.
905+
* Fires after the 'Application Passwords' section is loaded on 'Edit User' screen.
906+
*
907+
* The action only fires if the current user is editing another user's profile.
906908
*
907909
* @since 2.0.0
908910
*

0 commit comments

Comments
 (0)