Skip to content

Update user edit screen styles - #986

Merged
kasparsd merged 5 commits into
WordPress:masterfrom
YanMetelitsa:master
Sep 26, 2026
Merged

kasparsd merged 5 commits into
WordPress:masterfrom
YanMetelitsa:master

Conversation

@YanMetelitsa

@YanMetelitsa YanMetelitsa commented Sep 24, 2026 •

Copy link
Copy Markdown
Contributor

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

Before After
before after

Changelog Entry

Changed - User edit screen styles.

Open WordPress Playground Preview

@github-actions

github-actions Bot commented Sep 24, 2026 •

Copy link
Copy Markdown

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 props-bot label.

If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message.

Co-authored-by: YanMetelitsa <yanmetelitsa@git.wordpress.org>
Co-authored-by: kasparsd <kasparsd@git.wordpress.org>

To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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 description styling 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.

@masteradhoc masteradhoc modified the milestones: 0.17.0, 0.18.0 Sep 25, 2026

@kasparsd kasparsd left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

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.

@kasparsd

Copy link
Copy Markdown
Collaborator

@masteradhoc @georgestephanis @jeffpaul Do you have objections to the removal of the strong emphasis for the method enable checkbox labels?

@kasparsd
kasparsd merged commit 595adfa into WordPress:master Sep 26, 2026
25 checks passed
@kasparsd

Copy link
Copy Markdown
Collaborator

Merging since we can revert the bold removal in a follow-up pr if required.

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.

4 participants