Fixes the wrap behavior of the WordPress admin bar when it has too many items. Keep it neat; don’t spill/overflow into the content.
Kolla in saker på GitHub på https://github.com/KZeni/Admin-Bar-Wrap-Fix
Shouldn’t this be fixed within WordPress itself?
I would think so. This has been submitted as a patch at core ticket #44438 & core GitHub pull request #1082, but I figured it would still be beneficial as a plugin to solve things for people in the meantime.
Bidragsgivare och utvecklare
”Admin Bar Wrap Fix” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.Bidragande personer
”Admin Bar Wrap Fix” har översatts till 1 språk. Tack till översättarna för deras bidrag.
Översätt ”Admin Bar Wrap Fix” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Released March 20th, 2023
- Confirmed WordPress 6.2 compliance.
Released October 31st, 2022
- Confirmed WordPress 6.1 compliance.
Released May 6th, 2022
- Confirmed WordPress 6.0 compliance.
Released January 24th, 2022
- Confirmed WordPress 5.9 compliance.
Released July 12th, 2021
- Confirmed WordPress 5.8 compliance.
Released May 31st, 2021
- Mobile admin bar is now accounted for as plugins have recently been adding their own items to the mobile menu as well & potentially causing items wrap onto a new line outside of the admin bar given the available space. Instead of wrapping to overlap the actual content, it simply offers a horizontal scroll for when there are too many items to show on screen at once (keeping the items all within the admin bar’s one row of icons.)
Released March 25th, 2021
- Removed an unnecessary truncation.
- Made the CSS code smaller & simpler.
- Updated info to point to the current WordPress Core Trac ticket and GitHub pull request.
Released March 3rd, 2021
- Confirmed WordPress 5.7 compliance.
Released November 23rd, 2020
- Confirmed WordPress 5.6 compliance.
Released August 14th, 2020
- Added GPLv3 license declaration to the plugin details.
Released August 3rd, 2020
- Made it so the stylesheet is only included when the admin bar is being shown.
- Updated to confirm WordPress 5.5 compatibility. Minor plugin metadata updates.
Released June 22nd, 2020
- Updated to confirm WordPress 5.4.2 compatibility. Minor plugin metadata updates.
Released March 6th, 2020
- Updated to confirm WordPress 5.4 compatibility.
Released January 9th, 2020
- Added GitHub info to description.
Released January 9th, 2020
- Implemented further CSS refinements (thanks, @lunacodes).
- Bumped to 1.0.0 given the positive feedback, growing usage, and lack of anyone reporting any bugs along the way.
Released December 9th, 2018
- Updated to confirm WordPress 5.0 compatibility.
Released August 15th, 2018
- Got the plugin listed & working on the WP.org plugin repository.
Released August 13th, 2018
- Implemented all necessary assets and submitted to WP.org plugin repository.
Released July 30th, 2018
- Packaged as a plugin.
Released July 6th, 2018
- Updated version of the original Patch for admin-bar.css to make it friendly for admin bars which don’t have too many items shown.
Released June 22nd, 2018
- Initial implementation via core ticket #44438.