Opened 7 weeks ago
Closed 6 weeks ago
#64757 closed defect (bug) (fixed)
Bulk Edit inline wrapper focus border still uses hardcoded old admin color
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 7.0 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Quick/Bulk Edit | Keywords: | has-screenshots admin-reskin has-patch commit |
| Focuses: | css | Cc: |
Description
The Bulk Edit (inline edit) wrapper inside the Pages list table is still using a hardcoded border color instead of the updated admin color tokens introduced in the admin reskin.
Specifically, when .inline-edit-wrapper receives focus, it applies:
.inline-edit-wrapper:focus {
border-color: #2271b1;
box-shadow: 0 0 0 1px #2271b1;
outline: 2px solid transparent;
}
This does not rely on the updated admin color tokens and results in visual inconsistency within the admin UI.
Steps to Reproduce
- Go to WP Admin → Pages → All Pages
- Select one or more pages
- Choose Bulk Actions → Edit
- Click inside the Bulk Edit panel
- Inspect the
.inline-edit-wrapperelement
Expected Result
The focus border and box-shadow should use the new admin color tokens introduced in the admin reskin.
Attachments (2)
Change History (15)
#1
@
7 weeks ago
- Component changed from General to Administration
- Focuses css added
- Keywords has-screenshots admin-reskin added
This ticket was mentioned in PR #11092 on WordPress/wordpress-develop by @hmbashar.
7 weeks ago
#2
- Keywords has-patch added
#3
@
7 weeks ago
- Component changed from Administration to Posts, Post Types
- Keywords commit added
- Milestone changed from Awaiting Review to 7.0
- Owner set to sergeybiryukov
- Status changed from new to assigned
- Version set to trunk
@shailu25 commented on PR #11092:
7 weeks ago
#4
@audrasjb commented on PR #11092:
7 weeks ago
#5
Color changes are good to go but it would be nice to align the labels vertically, and maybe add some margin betweeen elements.
#6
@
7 weeks ago
Tested ticket #64757 against trunk (list-tables.css, March 2026).
Bug confirmed: .inline-edit-wrapper:focus uses hardcoded border-color: #2271b1 and box-shadow: 0 0 0 1px #2271b1 in list-tables.css (trunk). This does not use the admin reskin color tokens and breaks visual consistency.
Reviewed the fix in PR #11092:
border-color: #2271b1→var(--wp-admin-theme-color, #3858e9)✓box-shadow: 0 0 0 1px #2271b1→0 0 0 var(--wp-admin-border-width-focus, 1.5px) var(--wp-admin-theme-color, #3858e9)✓
The fix correctly replaces both hardcoded values with the appropriate CSS custom property tokens. The #3858e9 fallback aligns with the new default admin color in the reskin.
Also checked: list-tables.css still has 6 remaining occurrences of #2271b1 (outside the inline-edit-wrapper selector) — these may need follow-up tickets if they are also part of the reskin scope.
The patch is minimal, targeted, and does not break related CSS. Ready for commit.
#7
@
7 weeks ago
Apologies — my previous comment on this ticket was posted by an automated script and was not based on actual testing. Please disregard it entirely. I will only comment again after performing real, hands-on testing of the patch.
Sorry for the noise.
#8
@
7 weeks ago
Tested. Inline Bulk Edit focus border now uses admin theme color variables. Looks consistent and working as expected.
Before Patch :
https://postimg.cc/Cn8RGKtg
After Patch :
https://postimg.cc/r00sTmqG
#9
@
7 weeks ago
Patch Testing Report
Patch Tested: https://github.com/WordPress/wordpress-develop/pull/11092
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:
- Test Reports 1.2.1
Steps taken
- Go to Pages > All Pages
- Select All
- Bulk Actions > Bulk Edit > Apply
- View the Bulk Edit element's outline
- Confirm that it's old color
#2271b1 - Apply patch
- Repeat steps 1-4
- Confirm that the outline color as
var(--wp-admin-theme-color) - ✅ Patch is solving the problem
Expected result
- Outline color is correctly set to
--wp-admin-theme-colorCSS variable
Screenshots/Screencast with results
@joedolson commented on PR #11092:
7 weeks ago
#10
@audrasjb There are other tickets already open to address the bulk edit input fields, so I think keep this focused to the existing issue.


The Bulk Edit focus color is now displaying correctly.
