plugin-icon

Plugin Check (PCP)

Автор: WordPress.org·
Plugin Check – это инструмент WordPress.org, который обеспечивает проверку плагинов на соответствие требованиям каталога и следование различным лучшим практикам.
Рейтинги
4.5
Версия
1.8.0
Активные установки
7K
Последние изменения
Dec 28, 2025
Plugin Check (PCP)

Проверка плагинов – это инструмент для проверки соответствия вашего плагина стандартам, предъявляемым к каталогу плагинов WordPress.org. С помощью этого плагина вы сможете запустить большинство проверок, используемых для новых материалов, и проверить, соответствует ли ваш плагин требованиям.

Кроме того, инструмент выявляет нарушения или проблемы, связанные с лучшими практиками разработки плагинов, от базовых требований, таких как правильное использование функций интернационализации, до доступности, производительности и лучших практик безопасности.

Проверки можно запускать как через панель администратора WP, так и через WP-CLI:

  • To check a plugin using WP Admin, please navigate to the Tools > Plugin Check menu. You need to be able to manage plugins on your site in order to access that screen.
  • To check a plugin using WP-CLI, please use the wp plugin check command. For example, to check the «Hello Dolly» plugin: wp plugin check hello.php
    • Note that by default when using WP-CLI, only static checks can be executed. In order to also include runtime checks, a workaround is currently necessary using the --require argument of WP-CLI, to manually load the cli.php file within the plugin checker directory before WordPress is loaded. For example: wp plugin check hello.php --require=./wp-content/plugins/plugin-check/cli.php
    • You could use arbitrary path or URL to check a plugin. For example, to check a plugin from a URL: wp plugin check https://example.com/plugin.zip or to check a plugin from a path: wp plugin check /path/to/plugin

The checks are grouped into several categories, so that you can customize which kinds of checks you would like to run on a plugin.

Keep in mind that this plugin is not a replacement for the manual review process, but it will help you speed up the process of getting your plugin approved for the WordPress.org plugin repository, and it will also help you avoid some common mistakes.

Even if you do not intend to host your plugin in the WordPress.org directory, you are encouraged to use Plugin Check so that your plugin follows the base requirements and best practices for WordPress plugins.

Plugin Namer Tool.

Plugin Check now includes an AI-powered Plugin Namer tool (accessible via Tools > Plugin Check Namer) that helps plugin authors evaluate plugin names before submission. This tool checks for:

  • Similarity to existing plugins in the WordPress.org directory
  • Потенциальные конфликты торговых марок с известными брендами
  • Соответствие рекомендациям по наименованию плагинов WordPress
  • Generic or overly broad naming issues

The Plugin Namer provides instant feedback with actionable suggestions, helping you choose a clear, unique, and policy-compliant name that stands out in the plugin directory. This feature requires AI provider configuration in the settings.

Important: The Plugin Namer tool provides guidance only and is not definitive. All plugin name decisions are subject to final review and approval by the WordPress.org Plugins team reviewers.

Проверено на
WordPress 6.9.1
Этот плагин можно скачать и использовать при .