[wordpress插件] Deprecation Checker弃用检查器

wordpress 插件 文章 2020-04-15 19:10 424 0 全屏看文

AI助手支持GPT4.0

评分
100
描述

WP_DEBUG works well, however is not inclusive of all theme/plugin files that might not be loaded during certain page loads.

WP_DEBUG可以很好地工作,但是不包括可能在某些页面加载期间未加载的所有主题/插件文件。

Deprecation Checker allows you to view all the deprecated functions complete with path, line number, deprecation function name, and the new recommended function to use.

使用Deprecation Checker,您可以查看所有不推荐使用的功能,包括路径,行号,不推荐使用的功能名称以及要使用的新推荐功能。

Deprecated files are collated directly from WordPress core itself, so this plugin is scalable with future versions of WordPress.

已弃用的文件是直接从WordPress核心本身整理的,因此此插件可与WordPress的未来版本进行扩展。

We’ve included a couple handy filters and constants to make this plugin flexible for your own needs:

我们提供了一些方便的过滤器和常量,以使该插件灵活地满足您的需求:

    • Turn off plugin/theme directory checks
    • 关闭插件/主题目录检查

    • Add your own custom paths to check
    • 添加您自己的自定义路径进行检查

    • Add your own deprecated functions to the search
    • 在搜索中添加您自己不赞成使用的功能

安装步骤

Upload the Deprecation Checker plugin to your wp-content/plugins/ directory and activate.

将Deprecation Checker插件上传到您的 wp-content / plugins / 目录并激活。

Deprecation Checker lives in the Tools menu.

弃用检查器位于“工具”菜单中。

下载地址
https://downloads.wordpress.org/plugin/deprecation-checker.0.1.zip
-EOF-

AI助手支持GPT4.0