Opened 5 months ago
Last modified 4 months ago
#62062 new defect (bug)
Improve documentation for edit_user_profile and show_user_profile actions
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | |
Component: | Users | Keywords: | good-first-bug has-patch |
Focuses: | docs | Cc: |
Description
The show_user_profile
and edit_user_profile
actions both describe themselves as: "Fires after the 'About the User'/'About Yourself' settings table", which is somewhat correct, but doesn't really tell the full story.
The table structure on this page is:
- Personal Options
- Name
- Contact Info
- About Yourself / About the User
- Account Management (i.e. passwords)
- Application Passwords (which is not a "table", but is a contained section)
show_user_profile
/edit_user_profile
action- Additional Capabilities
I don't have any strong suggestions on wording, but we should be able to clarify where the action fires. Maybe "toward the end of the edit user/profile screen, before Additional Capabilities"?
Change History (2)
This ticket was mentioned in PR #7636 on WordPress/wordpress-develop by @akshat2802.
4 months ago
#1
- Keywords has-patch added; needs-patch removed
#2
@
4 months ago
Hii @jeremyfelt
I want to contribute to this ticket.
Added a PR for the change in doc comment as
Fires after the 'Application Passwords' section is loaded on the 'Profile' editing screen.
Also added additional comment for edit_user_profile hook as
The action only fires if the current user is editing another user's profile.
Please let me know if you have any suggestions.
Regards.
This PR changes document description for
show_user_profile
&edit_user_profile
action hooks on profile screen.These both hooks fire after application Passwords Section is loaded and not after About Yourself table.
It goes this way About Yourself Table -> Account Management -> Application Password Section -> show_user_profile OR edit_user_profile
Trac ticket: https://core.trac.wordpress.org/ticket/62062