Skip to content

Add visibility switch to Settings > Writing password field.#2070

Open
costdev wants to merge 9 commits intoWordPress:trunkfrom
costdev:9883
Open

Add visibility switch to Settings > Writing password field.#2070
costdev wants to merge 9 commits intoWordPress:trunkfrom
costdev:9883

Conversation

@costdev
Copy link
Contributor

@costdev costdev commented Dec 19, 2021

Copy link
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On the options page, I am seeing a JavaScript error in the console Uncaught TypeError: can't access property "data", $toggleButton is undefined and the toggle button is not working.

The user-profile javascript also includes code for setting the colour scheme on a users profile. These settings aren't available on the settings page so it seems a little hacking to include the JavaScript.

It's yet another JavaScript file but given how much the password toggle is used in core, it may be worth moving it in to a separate file.

@costdev costdev force-pushed the 9883 branch 2 times, most recently from 65e0b0b to 6307643 Compare October 14, 2022 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants