#15507 closed defect (bug) (fixed)
Remove wp_admin_body_style()
| Reported by: | ocean90 | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.1 |
| Component: | Administration | Version: | 3.1 |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: |
Description
I think we can remove the function. For admin we can use $admin_body_class and wp-admin.css and or themes can use body_class() .
Attachments (2)
Change History (12)
#2
@
16 years ago
Places the padding-top: 28px rule on the first appropriate element that isn't set to height: 100%; (which is #wphead).
In 3.1-RC3, you can see that the height of body.admin-bar is larger than 100% (easier to see on pages where the window is taller then the page content) which creates scroll-bars where none are needed.
(Might also provide a hint to Theme designers who look to wp-admin for css support on layouts that have css-positioned elements.)
Tested on Firefox 4.
This ticket was mentioned in PR #15509 on WordPress/wordpress-develop by @desrosj.
8 days ago
#9
This updates the MariaDB versions tested in the PHPUnit workflow.
MariaDB 12.3 (LTS)
- Added to the
test-with-mariadbmatrix. - Replaces 11.8 as the "newest LTS" MariaDB version in the memcached jobs, the limited matrix for forks, and the PHP 8.6 pre-release jobs. This follows the pattern used when 11.8 (r60346) and MySQL 9.7 (r62407) were added.
Innovation release
- MariaDB 12.1 is no longer supported upstream. The
test-innovation-releasesjob now tests MariaDB 13.0, the newest innovation release with a GA Docker image (mariadb:13.0, currently 13.0.2). 13.1 is only available as RC images so far, and there is no 13.2 image yet. This can move to a newer version once one is published. - Removes the outdated "MariaDB does not currently have a supported innovation release" comment.
Note: 12.3 is not excluded from the routine (non-full) matrix, so it adds jobs to routine runs, just like 11.8.
#15507 changes the same test-innovation-releases matrix (it adds MySQL 26.10), so whichever lands second needs a small rebase.
Trac ticket:
Use of AI Tools
AI assistance: Yes
Tool(s): Claude Code
Model(s): Claude Opus 5.5
Used for: Finding the earlier MariaDB LTS changes, making the matrix updates, and drafting this description. Reviewed by me.
---
This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.
🤖 Generated with Claude Code
@desrosj commented on PR #15509:
8 days ago
#10
Merged in r65280.
(In [16600]) Remove wp_admin_body_style(). Props ocean90. fixes #15507