With the announcement of the release of WordPress 3.1 a short while ago, version 2.1 of WP Hide Dashboard is now available for download from the wordpress.org Extend section. Those of you who have the plugin installed should see an upgrade notice show up in your WordPress dashboard.
The new version of the plugin has some significant changes to it:
- Support for WordPress version 2.9 and 3.0 removed.
- Support for roles other than Subscriber removed.
- Reworked code for removing Personal Options section on Profile page.
- Added support for removing Dashboard links in new admin bar.
- Added support for WordPress Multisite (mu-plugins and network-activation capable).
In order to continue to keep the code "lean and mean" and take advantage of the new functions available in WordPress 3.1, I have removed support for WordPress versions 2.9 and 3.0. Version 2.1 now requires a minimum of WordPress 3.1 for it to work.
I also removed code to remove menu items for roles other than Subscriber. While I appreciate that some users need this type of functionality for other roles, most don't require it, so I don't want to bloat the plugin with unnecessary code for the majority of users.
A new feature in WordPress 3.1 is the admin bar. If you've had a blog on wordpress.com, then you know what the admin bar is. The screenshot to the right shows you what a subscriber will see if the admin bar is enabled in WordPress (single mode). The same links show up in WordPress Multisite plus a My Sites menu (see screenshots). I've added code to hide the Dashboard link and only show the Edit My Profile link if the user is on the public-facing site, as well as reworking the My Sites menu in Multisite to only show links to the public-facing sites a user is assigned to.
Last, but not least, I've added support for WordPress Multisite to the plugin. It now works installed in the /wp-content/plugins/ folder and network-activated or just activated on one site in the network, as well as working when installed in the /wp-content/mu-plugins/ folder.
All that translates to lots of goodies in this version. Comments/questions/support requests should be posted on the Version 2.1 page.
I'd like to give a big shout-out to my friend Ipstenu for beta-testing the plugin for me while I was developing this version. Thanks so much for all your help!
Now, go upgrade WordPress to 3.1, then upgrade WP Hide Dashboard to 2.1, and enjoy!