Update user edit screen styles - #986
Conversation
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
There was a problem hiding this comment.
Copilot review overview
🟢 Approval recommended
No unresolved issues were identified.
Review effort: Lite
Findings: None
What changed in this PR
Updates user profile 2FA markup and styles to better match the native WordPress admin UI.
Changes:
- Applies WordPress
descriptionstyling to provider guidance and status text. - Adjusts method label typography.
- Updates backup-code count styling.
| File | Description |
|---|---|
user-edit.css |
Adjusts method label typography. |
providers/class-two-factor-totp.php |
Styles TOTP guidance and status messages. |
providers/class-two-factor-email.php |
Styles email provider guidance. |
providers/class-two-factor-backup-codes.php |
Styles the remaining-code message. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
kasparsd
left a comment
There was a problem hiding this comment.
This looks good! We can update the screenshots in a follow-up pull request.
I personally liked the strong emphasis for the method names but they are somewhat redundant since we have the method name as a row heading already.
|
@masteradhoc @georgestephanis @jeffpaul Do you have objections to the removal of the strong emphasis for the method enable checkbox labels? |
|
Merging since we can revert the bold removal in a follow-up pr if required. |
What?
Updates profile settings displaying to match WordPress UI styles.
Not fixes any issue.
Why?
Currently, the appearance of some plugin elements differs from that of the WordPress admin. Since the plugin is an important part of the security system and is also an official community plugin, I believe it should look as native as possible.
How?
Adds classes to some HTML elements and removes some styling.
Use of AI Tools
No.
Testing Instructions
Install new version.
Screenshots or screencast
Changelog Entry