WP Manifestindependent plugin directory
manifest / multisite / large-network-management

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

Download large-network-management.0.1.1.zip From the 0.1.1 release on GitHub, Feb 5, 2019

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.zip
No 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:

  1. short circuiting certain calls to get_blogs_of_user() for Super Admins and "pretending" that they only have access to the main site
  2. 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
  3. 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

  1. Go to Plugins > Add New and click on Upload Plugin
  2. Upload the zip file
  3. Activate the plugin

Build from sources

  1. clone the global repo to your local machine
  2. install node.js and npm (instructions)
  3. install composer (instructions)
  4. run npm update
  5. run grunt build
    • to build a new release zip
      • run grunt release

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.

Tag
Published
Assets
Downloads
0.1.1 latest
Feb 5, 2019 7 years ago
large-network-management.0.1.1.zip
11
Jan 30, 2019 7 years ago
large-network-management.0.1.0.zip
2
A grade

Security

Large Network Management 0.1.1 · audited by WP Registry

No security issues found.

Audited release
0.1.1
Findings
none
Worst severity
—
Content hash
4fd47416ad80746fa493781b…

WP Registry hashes the installable build and reports on that exact bytes-for-bytes copy. Embargoed findings are withheld until they are disclosed, so a clean verdict means nothing public is outstanding. WP Manifest does not audit code itself.