Make WordPress Core

Changeset 60679


Ignore:
Timestamp:
08/26/2025 11:53:04 PM (5 months ago)
Author:
jeremyfelt
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/user-edit.php

    r60284 r60679  
    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.
     
    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
Note: See TracChangeset for help on using the changeset viewer.