With the release of WordPress 3.2, it's time for a plugin update. The Admin Screen layout and menus have changed a bit, many things for the better, and Ozh updated his plugin for v3.2 compatibility. My turn. Going in, my concern was how to make these new changes and not have WordPress 3.1.x users end up with screwed up menu bars. No way to know until I dived into the code of the new Admin system to figure out what had changed.
Once I got everything set to handle all six possible combinations of what's activated and what's deactivated—what's on and what's off—what's expanded and what's collapsed and everything looked well placed, it's time to poke the compatibility dragon. Fearing the worst, that I was going to be spending at least as much time, if not more, making my plugin work on an earlier WP version, I sent the new code up to my 3.1.4 version install and reloaded the page. "What the...? The page looked fine running the new code on the 3.1 version. My initial concern was unfounded. A couple of positioning tweaks could have been made but they aren't so jarring, so as to require users to load an older version just for that. It looked great just the way it is and users running older versions get the benefit of the new positioning.
Ozh' Admin Drop Down Menu Activated Admin Bar On, Admin Header On • All Fixed-Position
Ozh' Admin Drop Down Menu Activated Admin Bar Off, Admin Header On • All Fixed-Position
Ozh' Admin Drop Down Menu Deactivated Admin Bar On, Admin Header On Standard WordPress Admin Menu Expanded • All Fixed-Position
Ozh' Admin Drop Down Menu Deactivated Admin Bar Off, Admin Header On Standard WordPress Admin Menu Collapsed • All Fixed-PositionSolved another natty problem and made it more functional. Check it out. Let me know how it works for you and if there's anything I could improve upon.
Download the latest version at The WordPress.org Plugin Directory.I hope you enjoy it. And, as always, Thanks to Ozh for encouraging me to jump in and write this. If you have feedback, a support request or just wish to ask a question about this plugin, please enter a comment. And, if you'd like to help a real starving artist, please buy us some cat food for our Bengal and Maine Coon rescues. Thank You.
Tags: code, computer, css, hack, php, plugin, programmingShort URL for this post: //spherical.org/s/5g
Leave a Reply