Make WordPress Core

Opened 16 years ago

Closed 16 years ago

Last modified 8 days ago

#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)

14772.wp_admin_body_style.patch​ (2.1 KB ) - added by ocean90 16 years ago.
admin_side_admin-bar_cleanup.patch​ (327 bytes ) - added by WraithKenny 16 years ago.
Minor CSS fix for admin-bar

Download all attachments as: .zip

Change History (12)

#1 @ryan
16 years ago

  • Resolution → fixed
  • Status new → closed

(In [16600]) Remove wp_admin_body_style(). Props ocean90. fixes #15507

#2 @WraithKenny
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.

#3 @WraithKenny
16 years ago

  • Resolution fixed
  • Severity normal → trivial
  • Status closed → reopened

#4 @WraithKenny
16 years ago

  • Severity trivial → normal

#5 @SergeyBiryukov
16 years ago

Patch tested, removes unnecessary scrollbars.

#6 @ryan
16 years ago

Looking okay in Chrome on Mac.

#7 @ocean90
16 years ago

Opera and Firefox too.

#8 @ryan
16 years ago

  • Resolution → fixed
  • Status reopened → closed

(In [17368]) Admin bar CSS fix; removes unnecessary scrollbars. Props WraithKenny. fixes #15507

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-mariadb matrix.
  • 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-releases job 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.

Note: See TracTickets for help on using tickets.