curtistinkers/disable-wp-health-checks-composer 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

curtistinkers/disable-wp-health-checks-composer

最新稳定版本:2.0.0

Composer 安装命令:

composer require curtistinkers/disable-wp-health-checks-composer

包简介

Disables unnecessary health checks for Composer managed projects

README 文档

README

Small MU-plugin that disables specific WordPress Site Health checks for projects managed with Composer.

Features

  • Disables the Background Updates Site Health test which is unnecessary in Composer-managed deployments.

Installation

Install dependencies and project packages with Composer:

composer require curtistinkers/disable-wp-health-checks-composer

The package is a Composer wordpress-muplugin type; how it is installed into mu-plugins depends on your project installer configuration.

There is no runtime configuration — the plugin runs when loaded and filters the site_status_tests hook.

Usage

No runtime configuration is required. The plugin unsets async.background_updates so the Background Updates health test does not appear in Site Health.

Development & Testing

  • PHP: >=8.2 (see composer.json).
  • Run code style checks: composer run lint
  • Run static analysis: composer run phpstan
  • Run tests: composer run test
  • Get coverage: composer run coverage

CI is defined in .github/workflows/ci.yml and runs on PHP 8.2–8.5.

Contributing

Contributions should be small and focused. Follow the repository coding standards (WPCS) and run the static checks before opening a PR.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-07