Large Network Management WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA
Optimize admin management of large networks
★ 1stars
13release downloads
0.1.1latest · 7 years ago
Install
Upload it under Plugins → Add New Plugin → Upload Plugin, then activate.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/pbiron/large-network-management/releases/download/0.1.1/large-network-management.0.1.1.zipNo built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.
Optimize admin management of large networks
Description
For Super Admins, all Wordpress admin screens can take very long to load when working with a multisite network with even 100 sites. Additionally, the "My Sites" dropdown in the adminbar does not deal well with users who have access to more than ~30 sites.
This plugin tries to address that by:
- short circuiting certain calls to get_blogs_of_user() for Super Admins and "pretending" that they only have access to the main site
- replacing the URL for the "My Sites" admin bar menu item for Super Admins to use the URL for the Network Admin > Sites page
- if a Super Admin "manually" goes to the "My Sites" screen, they are automatically redirected to the Network Admin > Sites screen
- for all non-Super Admin users, the sites they belong to are shown in alphabetical order by blogname
- by default, Wordpress shows them in the order the sites were created (i.e., their blog_id)
Installation
From your WordPress dashboard
- Go to Plugins > Add New and click on Upload Plugin
- Upload the zip file
- Activate the plugin
Build from sources
- clone the global repo to your local machine
- install node.js and npm (instructions)
- install composer (instructions)
- run
npm update - run
grunt build- to build a new release zip
- run
grunt release
- run
- to build a new release zip
To Do
- add ability to short circuit
get_blogs_of_user()for any user that is a member of more than n blogs, instead of just doing so for super_admins - for users that aren't short circuited and have more than m blogs, have the adminbar My Sites list their blogs in sub-menus (e.g., A-E, F-I, etc)
Changelog
0.1.1
- hook Large_Network_Management_Plugin::setup() to 'init' instead of 'plugins_loaded' to avoid calling is_admin_bar_showing() before the query is run on the front-end
- Added 'wp_dashboard_quick_press()' to the list of "expensive" calls of get_blogs_of_user()
0.1.0
- init commit
Releases
2 releases. Each count is every asset in that release; expand a row for the breakdown.