Make WordPress Core

Opened 3 months ago

Last modified 3 months ago

#62020 new enhancement

Add copy button when creating or updating a user's password

Reported by: desrosj's profile desrosj Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Users Keywords: has-patch
Focuses: Cc:

Description

It would be nice to have a copy icon that can be clicked to easily copy a new password when randomly generated. Making this easier could encourage users to use more complex passwords.

Attachments (10)

copy-button.patch (4.8 KB) - added by parthvataliya 3 months ago.
Screenshot from 2024-09-10 19-06-32.png (51.2 KB) - added by parthvataliya 3 months ago.
Copy button on Adding new user's password.
Screenshot from 2024-09-10 19-06-38.png (51.6 KB) - added by parthvataliya 3 months ago.
New generated password copied for new user.
Screenshot from 2024-09-10 19-07-00.png (84.6 KB) - added by parthvataliya 3 months ago.
Copy button on Adding updating user's password.
Screenshot from 2024-09-10 19-07-04.png (85.1 KB) - added by parthvataliya 3 months ago.
New generated password copied for update user's password.
62020.patch (3.3 KB) - added by haritpanchal 3 months ago.
Patch with dashicons
62020 SS 1.png (90.5 KB) - added by haritpanchal 3 months ago.
62020 SS 2.png (90.7 KB) - added by haritpanchal 3 months ago.
62020.2.patch (4.8 KB) - added by iflairwebtechnologies 3 months ago.
Added copy button when creating or updating a user's password
copybutton.png (78.4 KB) - added by iflairwebtechnologies 3 months ago.

Download all attachments as: .zip

Change History (16)

#1 @desrosj
3 months ago

I was surprised that I couldn't find a preexisting request for this. If one exists and I missed it, feel free to close out.

#2 @vishalmori
3 months ago

  • Component changed from Users to Application Passwords

#3 @vishalmori
3 months ago

  • Component changed from Application Passwords to Users

#4 @parthvataliya
3 months ago

Hello @desrosj

I’ve worked on the new enhancement for adding the copy icon on creating or updating user's password. I couldn’t get the copy icon, so instead of this I created a copy button. Here I attached the patch of this working functionality and images of it.
Please review the patch, and if everything looks good, I’d be happy to proceed with creating a PR for this.
Thank you!

@parthvataliya
3 months ago

Copy button on Adding new user's password.

@parthvataliya
3 months ago

New generated password copied for new user.

@parthvataliya
3 months ago

Copy button on Adding updating user's password.

@parthvataliya
3 months ago

New generated password copied for update user's password.

@haritpanchal
3 months ago

Patch with dashicons

This ticket was mentioned in PR #7329 on WordPress/wordpress-develop by @iflairwebtechnologies.


3 months ago
#6

  • Keywords has-patch added

@iflairwebtechnologies
3 months ago

Added copy button when creating or updating a user's password

Note: See TracTickets for help on using tickets.