WP Manifestindependent plugin directory
manifest / multisite / super-admin-performance-boost

Super Admin Performance Boost. WP Registry grade A. No security issues foundWP RegistryNo security issues foundOpen the reportA

On a WordPress Multisite, tries to avoid using switch_to_blog() and restore_current_blog() when possible.

★ 9stars
963composer installs
1.1.3latest · 3 years ago

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/soderlind/super-admin-performance-boost/archive/refs/heads/main.zip

On Packagist as soderlind/super-admin-performance-boost:

composer require soderlind/super-admin-performance-boost
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

On a WordPress Multisite, tries to avoid using switch_to_blog() and restore_current_blog() when possible.

Description

  1. Short-circuit the get_blogs_of_user() function. We don't have to check if a site is own by the user, we want all sites.
  2. Extend WP_MS_Sites_List_Table and use bespoke Super_Admin_Performance_Boost::get_admin_url() and Super_Admin_Performance_Boost::get_home_url() funtions.
  3. Extend WP_MS_Users_List_Table
    • For the Super Admin, hide their sites in the Sites column.
    • For rest of the users, use bespoke Super_Admin_Performance_Boost::get_home_url() funtions.

Side note

I wish I did't have to write this and the Super Admin All Sites Menu plugin, but it feels like WordPress Multisite is not ready for the Super Admin role.

I have a multisite with 100+ sites, and the following issues are a pain:

Installation

You know the drill.

Super Admin Performance Boost is copyright 2023+ Per Soderlind

Super Admin Performance Boost is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License, or (at your option) any later version.

Super Admin Performance Boost is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with the Extension. If not, see http://www.gnu.org/licenses/.

Releases

6 releases.

Tag
Published
1.1.3 latest
Mar 16, 2023 3 years ago
Mar 15, 2023 3 years ago
Mar 14, 2023 3 years ago
Mar 12, 2023 3 years ago
Mar 12, 2023 3 years ago
Mar 11, 2023 3 years ago

These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.

A grade

Security

Super Admin Performance Boost. 1.1.3 · audited by WP Registry

No security issues found.

Audited release
1.1.3
Findings
none
Worst severity
—
Content hash
a9898281ac42295b19719c0a…

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.