Opened 7 weeks ago
Closed 12 days ago
#64744 closed defect (bug) (fixed)
[Admin reskin] Admin Help still uses old colors
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Administration | Keywords: | admin-reskin has-patch has-screenshots dev-feedback |
| Focuses: | ui, css | Cc: |
Description
The "Help" menu in the admin got missed and still uses the old colors.
Attachments (3)
Change History (40)
This ticket was mentioned in PR #11070 on WordPress/wordpress-develop by @fabiankaegy.
7 weeks ago
#1
- Keywords has-patch added
#2
@
6 weeks ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11070
Environment
- WordPress: 7.0-beta2-61752-src
- PHP: 8.2.29
- Server: nginx/1.29.4
- Database: mysqli (Server: 8.4.7 / Client: mysqlnd 8.2.29)
- Browser: Chrome 145.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Code Snippets 3.9.5
- Test Reports 1.2.1
Steps taken
- Inspect Admin Help menu colors using Dev Tools
- Notice active tab with old border-left color of
#72aee6 - Apply patch
- Inspect the element confirm the new border-left color of
var(--wp-admin-theme-color) - ✅ Patch is solving the problem
Expected result
- We expect to see the new CSS variable
--wp-admin-theme-colorcolor instead of the old value
Screenshots/Screencast with results
#3
@
6 weeks ago
Test Report
Patch tested: https://github.com/WordPress/wordpress-develop/pull/11070
Environment
- WordPress: 7.0-beta2-20260226.234351
- PHP: 7.4.33
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.51.0)
- Browser: Chrome 145.0.0.0
- OS: macOS
- Theme: Twenty Twenty-Five 1.4
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.1
Steps taken
- Inspect Admin Help menu colors using Dev Tools.
- Notice active tab with old border-left color of
#72aee6. - Apply the patch from 11070.
- Compile assets using
'npm run build'. - Inspect the element and confirm the new border-left color of
var(--wp-admin-theme-color).
Expected result
- We expect to see the new CSS variable
--wp-admin-theme-colorinstead of the hardcoded color value.
Actual Results
Patch is solving the problem. The active help tab now correctly uses the admin theme color variable.
Screenshots
| Before | After |
|
|
#4
@
6 weeks ago
Test Report
This Report Validates that the indicated patch address the issue.✅
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11070
Environment:
WordPress - 7.0-beta2-20260226.234351
OS - Windows
Browser - Chrome
Theme: Twenty Twenty Five
PHP - 7.4.33
Plugin - None
Actual Results:
- Issue Resolved with Patch ✅
Supplemental Artifacts
- Attached
@sandipsinh007 commented on PR #11070:
6 weeks ago
#5
#6
@
6 weeks ago
I’ve applied the patch and tested it on WordPress 7.0 Beta 2. The issue is resolved and everything is working as expected.
Before applying the patch:-
https://prnt.sc/J8WTYBO_nIuC
After applying the patch:-
https://prnt.sc/e33sHAqkmwIw
#7
@
6 weeks ago
- Owner set to audrasjb
- Status changed from new to accepted
Self assigning for final review.
#8
@
6 weeks ago
- Keywords changes-requested added
Marking this ticket with changes-requested as per Joe's comment in the PR:
The use of transparency on the background colors is leaving a visible border between the selected tab and the help tab content, so I think these colors need to be solid.
@hbhalodia commented on PR #11070:
6 weeks ago
#9
@amesplant commented on PR #11070:
5 weeks ago
#10
If the user changes their admin color scheme, using the hex value for a background won't work as it would not match the color scheme:
Suggestion would be to use a pseudo-element to "cover" the border:
.contextual-help-tabs .active {
padding: 0;
margin: 0 -1px 0 0;
border-left: 2px solid var(--wp-admin-theme-color);
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
/* box-shadow: 0 2px 0 rgba(0, 0, 0, 0.02), 0 1px 0 rgba(0, 0, 0, 0.02); */
background: color-mix(in srgb, var(--wp-admin-theme-color) 8%, white);
&::after {
content: "";
position: absolute;
top: 0;
right: -1px;
width: 2px;
height: 100%;
background: inherit;
z-index: 2;
}
}
This ticket was mentioned in Slack in #core by mukeshpanchal27. View the logs.
3 weeks ago
This ticket was mentioned in PR #11358 on WordPress/wordpress-develop by @audrasjb.
3 weeks ago
#13
@audrasjb commented on PR #11070:
3 weeks ago
#14
@audrasjb commented on PR #11358:
3 weeks ago
#15
This looks good to me.
[Uploading screen-capture (10).webm…]()
@audrasjb commented on PR #11358:
3 weeks ago
#16
#17
@
3 weeks ago
- Keywords dev-feedback has-screenshots added; changes-requested removed
Marking this as waiting for dev-feedback.
This ticket was mentioned in Slack in #core-committers by audrasjb. View the logs.
3 weeks ago
#21
follow-up:
↓ 23
@
2 weeks ago
- Resolution fixed deleted
- Status changed from closed to reopened
.contextual-help-tabs .active::after {
content: "";
position: absolute;
top: 0;
right: -1px;
width: 2px;
height: 100%;
background: inherit;
z-index: 2;
}
This style causes an overflow, resulting in an unintended scrollbar always appearing on Windows OS. What is the purpose of this style in the first place? In my environment, removing these styles does not cause any visual issues.
This ticket was mentioned in PR #11396 on WordPress/wordpress-develop by @wildworks.
2 weeks ago
#22
Trac ticket: https://core.trac.wordpress.org/ticket/64744
## Use of AI Tools
None
## Screenshots
### Before
### After
#23
in reply to:
↑ 21
@
2 weeks ago
Replying to wildworks:
.contextual-help-tabs .active::after { content: ""; position: absolute; top: 0; right: -1px; width: 2px; height: 100%; background: inherit; z-index: 2; }This style causes an overflow, resulting in an unintended scrollbar always appearing on Windows OS. What is the purpose of this style in the first place? In my environment, removing these styles does not cause any visual issues.
It appears to originate from this comment.
#24
@
2 weeks ago
I think removing the pseudo-element (PR 11396) is correct. It was intended to cover a border for the active help tab, but I do not find the border there in Chrome or Firefox with Windows 11 when I apply the patch.
If some browser does require the pseudo-element:
- It is not positioned correctly—in relation to the active tab—because the list item lacks
position: relative. - It probably should be hidden for small screens, at the 782px breakpoint.
#25
@
2 weeks ago
- Keywords dev-reviewed removed
Hello and thank you both for reopening the ticket and discussing this issue. No problem we can remove the pseudo element but I don't really get why the border would be ok now without it: when I tested the ticket, the PR using this small hack was the only one where the border was not visible… (I'm running a very classic MacOS/Chrome environment).
By the way we don't want that scrollbar anyway.
I'll try to reproduce the border issue too.
#26
@
2 weeks ago
- Keywords dev-reviewed added
Well I tested the border issue with the exact same config I previously had and I can't reproduce it anymore… let's add a follow-up commit with PR11396 as it fixes the scrollbar issues, simplifies the approach and doesn't seem to introduce any issue.
@huzaifaalmesbah commented on PR #11396:
13 days ago
#28
#29
follow-up:
↓ 31
@
13 days ago
After re-reading this comment, I don't think this pseudo-element is necessary at all. The following CSS is actually what removes the right border of the active tab.
.contextual-help-tabs .active {
margin: 0 -1px 0 0;
background: color-mix(in srgb, var(--wp-admin-theme-color) 8%, white);
}
This ticket was mentioned in Slack in #core by audrasjb. View the logs.
13 days ago
#31
in reply to:
↑ 29
@
13 days ago
Yes, using color-mix() fixed the border issue. The pseudo-element was suggested when the background used RGBA.
background: rgba(var(--wp-admin-theme-color--rgb), 0.08);
#33
follow-up:
↓ 34
@
13 days ago
- Keywords dev-feedback added; dev-reviewed removed
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening to consider backporting [62187] to 7.0.
#34
in reply to:
↑ 33
@
13 days ago
Replying to audrasjb:
Reopening to consider backporting [62187] to 7.0.
Should the code from comment:29 be added instead of the removed code?
#35
@
12 days ago
Reopening to consider backporting [62187] to 7.0.
Approved
Replying to audrasjb:
Reopening to consider backporting [62187] to 7.0.
Should the code from comment:29 be added instead of the removed code?
Since the code from comment:29 already exists, I think we can simply backport [62187] to 7.0.




Trac ticket: https://core.trac.wordpress.org/ticket/64744
## Use of AI Tools
none