定制 soderlind/super-admin-performance-boost 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

soderlind/super-admin-performance-boost

最新稳定版本:1.1.3

Composer 安装命令:

composer require soderlind/super-admin-performance-boost

包简介

Super Admin Performance Boost.

README 文档

README

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.

Copyright and License

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/.

统计信息

  • 总下载量: 963
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2023-03-11

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固