Title: KAGG Compatibility
Author: kaggdesign
Published: <strong>2022 年 2 月 15 日</strong>
Last modified: 2026 年 11 月 1 日

---

搜索插件

![](https://ps.w.org/kagg-compatibility/assets/banner-772x250.png?rev=3010564)

![](https://ps.w.org/kagg-compatibility/assets/icon.svg?rev=3048259)

# KAGG Compatibility

 作者：[kaggdesign](https://profiles.wordpress.org/kaggdesign/)

[下载](https://downloads.wordpress.org/plugin/kagg-compatibility.2.6.0.zip)

 * [详情](https://cn.wordpress.org/plugins/kagg-compatibility/#description)
 * [评价](https://cn.wordpress.org/plugins/kagg-compatibility/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/kagg-compatibility/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/kagg-compatibility/#developers)

 [支持](https://wordpress.org/support/plugin/kagg-compatibility/)

## 描述

WordPress core, plugins, and themes can emit notices and deprecation messages on
newer PHP versions. See the [WordPress PHP compatibility guide](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)
for the current core support status.

The same is related to many popular plugins such as WooCommerce, Jetpack, Gravity
Forms, and others. Mainly, they produce deprecation notices from the Action Scheduler
library.

#### Features

 * The plugin blocks deprecation notices, user deprecation notices, notices, warnings,
   user notices, and user warnings.
 * The list of folders from which errors are blocked can be filtered. This list 
   may specify any WordPress Core, plugin, and theme folders.
 * Plugin filters out errors from these folders only. Errors produced by other code
   are not blocked, which helps in debugging user code.
 * During activation, the plugin installs a mu-plugin `kagg-compatibility-error-
   handler.php` into the `/wp-content/mu-plugins/` folder. It contains the error
   handler, which loads earlier than any plugin or theme.

### Plugin Support

 * [Support Forum](https://wordpress.org/support/plugin/kagg-compatibility/)

## 安装

 1. Upload the `kagg-compatibility` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.

#### Can I contribute?

Yes, you can!

 * Join in on our [GitHub repository](https://github.com/kagg-design/kagg-compatibility)

## 评价

![](https://secure.gravatar.com/avatar/6a98e39825f4a832783bafc6b9c35306a16c2b39416190d87c063cb23a63c598?
s=60&d=retro&r=g)

### 󠀁[Helpful!](https://wordpress.org/support/topic/helpful-507/)󠁿

 [Andrea](https://profiles.wordpress.org/andreamk/) 2026 年 11 月 9 日

PHP 8.6 will be released soon; this could come in handy after upgrading to the new
PHP version.

![](https://secure.gravatar.com/avatar/f69aa7bd0e4fb9e81b11ebdf55167b10966a85b69b0db71c078cdad63d412106?
s=60&d=retro&r=g)

### 󠀁[Great plugin](https://wordpress.org/support/topic/great-plugin-37917/)󠁿

 [Artem Abramovich](https://profiles.wordpress.org/artabr/) 2023 年 11 月 8 日

Almost all major plugins were not ready to switch to php 8.1: Yoast SEO, Rank Math,
Mail Poet, etc. You get a bunch of warnings about deprecation. This plugin allows
you to solve this problem by simply enabling it. Simple, fast, comfortable

![](https://secure.gravatar.com/avatar/d8b8504c5c706e5f585caf579084c8099be27e2ca2b432df84736c7bf36289b4?
s=60&d=retro&r=g)

### 󠀁[Very helpful from php8.1](https://wordpress.org/support/topic/very-helpful-from-php8-1/)󠁿

 [Alex L](https://profiles.wordpress.org/alexls/) 2022 年 2 月 15 日

A great plugin that solves a lot of headaches when switching to php8.1

 [ 阅读所有3条评价 ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/)

## 贡献者及开发者

「KAGG Compatibility」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kaggdesign ](https://profiles.wordpress.org/kaggdesign/)

「KAGG Compatibility」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/kagg-compatibility/contributors)
为本插件所做的贡献。

[帮助将「KAGG Compatibility」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/kagg-compatibility)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/kagg-compatibility/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/kagg-compatibility/)，或通过[RSS](https://plugins.trac.wordpress.org/log/kagg-compatibility/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/kagg-compatibility/)。

## 更新日志

#### 2.6.0

 * Corrected minimum-version notices to match the declared PHP 7.4 and WordPress
   6.0 requirements.
 * Tested with WordPress 7.1.4.

#### 2.5.0

 * The minimum required PHP version is now 7.4.
 * The minimum required WordPress version is now 6.0.

#### 2.4.3

 * Improved error handling with Query Monitor.
 * Improved error handling with Action Scheduler.

#### 2.4.2

 * Improved error handling with Uncanny Automator.

#### 2.4.0

 * Added KAGG_DISABLE_ERROR_HANDLER constant to disable the error handler.
 * Added blocking of WPForms error handlers to prevent conflicts.
 * Improved chaining of error handlers.
 * Changed wpf_error_handler_level filter name to kagg_compatibility_levels.
 * Fixed skipping suppression of some errors.

#### 2.3.0

 * Tested with PHP 8.4.
 * Tested with WordPress 6.7.

#### 2.2.0

 * Dropped support for PHP 7.0 and 7.1. The minimum required PHP version is now 
   7.2.
 * Add plugins and themes to the default settings.
 * Tested with WordPress 6.6.
 * Tested with WooCommerce 9.1.

#### 2.1.0

 * Tested with WordPress 6.5.
 * Tested with WooCommerce 8.6.

#### 2.0.3

 * Added normalization of dirs to handle errors from.
 * Added plugins’ directories to the default list.

#### 2.0.2

 * Fixed the improper display of the “rate plugin” message on options.php.
 * Fixed a fatal error with improperly coded third-party error handlers.

#### 2.0.1

 * Fixed conflict with hCaptcha plugin.

#### 2.0.0

 * Tested with WordPress 6.4.
 * Added a settings page to specify the list of directories to process errors from.
 * Added the ability to chain error handlers.
 * Added compatibility with Query Monitor.
 * Added filter for folders.
 * Added filter for error levels.

#### 1.3.0

 * Tested with WordPress 6.3.

#### 1.2.0

 * Tested with WordPress 6.2.
 * Tested with PHP 8.2.

#### 1.1.0

 * Tested with WordPress 6.0.

#### 1.0.1

 * Fixed creation of the mu-plugin folder if it does not exist.

#### 1.0.0

 * Initial release.

[See changelog for all versions](https://github.com/kagg-design/kagg-compatibility/blob/master/changelog.txt).

## 额外信息

 *  版本 **2.6.0**
 *  最后更新：**2 周前**
 *  活跃安装数量 **10+**
 *  WordPress 版本 ** 6.0 或更高版本 **
 *  已测试的最高版本为 **7.1.4**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/kagg-compatibility/) 和 [Russian](https://ru.wordpress.org/plugins/kagg-compatibility/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/kagg-compatibility)
 * 标签
 * [compatibility](https://cn.wordpress.org/plugins/tags/compatibility/)[deprecated](https://cn.wordpress.org/plugins/tags/deprecated/)
   [development](https://cn.wordpress.org/plugins/tags/development/)[notice](https://cn.wordpress.org/plugins/tags/notice/)
   [warning](https://cn.wordpress.org/plugins/tags/warning/)
 *  [高级视图](https://cn.wordpress.org/plugins/kagg-compatibility/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  3 条 5 星评价     ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/kagg-compatibility/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/kagg-compatibility/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/kagg-compatibility/reviews/)

## 贡献者

 *   [ kaggdesign ](https://profiles.wordpress.org/kaggdesign/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/kagg-compatibility/)