{"id":20851,"date":"2026-10-03T08:12:00","date_gmt":"2026-10-03T06:12:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=20851"},"modified":"2026-11-14T23:38:47","modified_gmt":"2026-11-14T22:38:47","slug":"wordpress-org-plugin-guidelines-why-submissions-get-rejected","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/","title":{"rendered":"WordPress.org plugin guidelines: why submissions get rejected"},"content":{"rendered":"<p>A working plugin can still fail review for the WordPress.org directory. The team checks the licence, external data transfers and name as well as code. Hidden statistics collection or a payment lock on an included feature can therefore matter as much as a programming error.<\/p>\n<p><strong>Checked on 25 October 2026.<\/strong> The Detailed Plugin Guidelines contain 18 rules. This overview explains what those rules mean for a finished plugin. The example separates two choices: allowing statistics to be sent and displaying a link to the developer\u2019s website. Both start switched off.<\/p>\n<p><a href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/finding-wordpress-plugin-errors-before-submission-local-and-automated-checks-with-plugin-check\/\">Plugin Check<\/a>, <a href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/securing-wordpress-plugins-checking-inputs-outputs-requests-and-access-rights\/\">security functions<\/a> and <a href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/publishing-a-wordpress-plugin-understanding-descriptions-versions-and-svn\/\">readme files and plugin headers<\/a> have separate articles. Examples of finished plugins include <a href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/speed-up-a-wordpress-site-with-lite-page-cache\/\">Lite Page Cache<\/a> and <a href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/securing-wordpress-logins-introducing-wp-admin-captcha\/\">WP Admin Captcha<\/a>.<\/p>\n<h2>The 18 rules at a glance<\/h2><p>The numbers match the official guidelines. The groups connect related topics; the order does not rank reasons for rejection.<\/p>\n<table><thead><tr><th>Topic<\/th><th>Rules<\/th><th>Practical consequence<\/th><\/tr><\/thead><tbody>\n<tr><td>Licence and source<\/td><td>1, 4, 13<\/td><td>Every file needs a suitable licence. Readable source must be available. Libraries already supplied by WordPress are not bundled again.<\/td><\/tr>\n<tr><td>Paid offers<\/td><td>5, 6, 8<\/td><td>Features included in the package cannot be unlocked by payment. Documented services are allowed; external code has specific limits.<\/td><\/tr>\n<tr><td>Consent and interface<\/td><td>7, 10, 11<\/td><td>External contacts must be explained and authorized. Developer credits are optional. Advertising must not take over the administration area.<\/td><\/tr>\n<tr><td>Publication and conduct<\/td><td>2, 3, 9, 12, 14\u201318<\/td><td>Complete, current packages, honest descriptions, suitable names and version numbers; no spam descriptions or unnecessary SVN changes.<\/td><\/tr><\/tbody><\/table>\n<p>Responsibility includes bundled libraries and the terms of external services. The team can change rules, grant exceptions or remove a plugin. This overview therefore does not replace the current guideline page.<\/p>\n<h2>Licensing and readable code<\/h2>\n<p>GPL-compatible means that a licence must be compatible with the GNU General Public License. WordPress recommends \u201cGPLv2 or later\u201d. The requirement covers bundled images, data files and third-party libraries as well as original PHP code. Conflicting declarations in the plugin header and readme need resolving before submission.<\/p>\n<p>Minified files are program files made smaller for distribution. Readable source and build tools must be publicly accessible, either in the package or through a readme link. For Composer projects, <code>composer.json<\/code> helps describe the build. WordPress already provides libraries such as jQuery and PHPMailer; plugins should use those copies. Unneeded test, demonstration and development folders do not belong in a release package.<\/p>\n<h2>What must remain free and what can be paid<\/h2>\n<p>A directory plugin cannot unlock included features only after payment or disable those features after a trial period. This is the trialware restriction. A paid external service is allowed when the service provides real functionality and the readme explains the dependency. Checking a licence key for functionality that otherwise lives entirely in the plugin is not enough.<\/p>\n<p>Rule 5 also allows a separate paid add-on plugin hosted outside WordPress.org. Premium code then remains outside the free package. The directory plugin cannot download and install its own premium replacement. This keeps the free functionality, external service and additional product distinct.<\/p>\n<p>Rule 8 is not a blanket ban on external code. Code from documented services is permitted under the stated security conditions. Without that service connection, JavaScript and CSS belong in the local package. External update sources, installing the premium version and embedding remote administration pages in iframes are restricted. The rule also permits management services that distribute software through their own domain rather than inside the WordPress dashboard.<\/p>\n<p>Upgrade notices may fit the current task or appear on the plugin settings page. Notices across the administration area must be dismissible. The plugin cannot misrepresent capabilities or suggest that already included functions require additional payment.<\/p>\n\n\n<!-- lw-flux-illu 20851-a3 -->\n<figure class=\"lw-illu\"><img src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/illustrationen\/flux-20851-a3.webp\" width=\"1120\" height=\"630\" loading=\"lazy\" decoding=\"async\" alt=\"On the pegboard every tool hangs freely, none chained up; only delivery costs extra. Likewise, plugins in the WordPress directory must not lock features after a trial period.\"><figcaption>On the pegboard every tool hangs freely, none chained up; only delivery costs extra. Likewise, plugins in the WordPress directory must not lock features after a trial period.<\/figcaption><\/figure>\n\n\n<h2>A clear choice before external requests<\/h2>\n<p>An opt-in is an active choice, such as checking an initially empty box. Rule 7 requires explicit, authorized consent for external contacts and documentation of data use. The service exception concerns the recognizable purpose of an established service: installation, activation, registration and configuration can express the required consent under the directory rule. That is not permission for unrelated statistics collection or a general legal approval of every data use.<\/p>\n<p>A developer link on the public website is a separate choice. Rule 10 requires the link to start disabled and forbids making the plugin depend on displaying the credit. A hidden clause in terms does not replace that choice.<\/p>\n<h2>Example: reading time, statistics button and credit link<\/h2>\n<p>The example estimates reading time locally, assuming 200 whitespace-separated words per minute. The estimate does not suit every language equally and always shows at least one minute. Two independent settings allow statistics sharing and the developer link.<\/p>\n<p>Saving the statistics setting sends nothing. The separate \u201cSend statistics once\u201d button triggers one attempt. The saved opt-in, <code>manage_options<\/code> permission and form check must still be valid at that point. A nonce helps resist requests triggered through another site; the permission check separately decides whether the account may perform the action.<\/p>\n<p><code>stats.example.com<\/code> is a placeholder. Real use needs an actual service endpoint and accurate information about data use. The demonstration code remains outside a production website.<\/p>\n<figure style=\"--cbb-digits:3\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"php\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">PHP<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" aria-label=\"Copy code\" data-cbb-status-done=\"Code copied to the clipboard.\" data-cbb-status-failed=\"Copying failed. The code is selected for copying with Ctrl+C or \u2318+C.\" data-cbb-status-noselect=\"Copying failed.\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\" role=\"region\" aria-label=\"Code example: PHP\"><code class=\"cbb-code language-php\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-meta\">&lt;?php<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Plugin Name:       Reading Time Badge<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Description:       Shows the estimated reading time above posts. Usage statistics and a credit link are opt-in.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Version:           1.0.0<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Requires at least: 6.5<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Requires PHP:      7.4<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * License:           GPLv2 or later<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * License URI:       https:\/\/www.gnu.org\/licenses\/gpl-2.0.html<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Text Domain:       reading-time-badge<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @package ReadingTimeBadge<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-function\">defined<\/span>( <span class=\"cbb-string\">'ABSPATH'<\/span> ) ) {\n<\/span><span class=\"cbb-line\">\texit;\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">define<\/span>( <span class=\"cbb-string\">'RTBADGE_VERSION'<\/span>, <span class=\"cbb-string\">'1.0.0'<\/span> );\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">define<\/span>( <span class=\"cbb-string\">'RTBADGE_STATS_URL'<\/span>, <span class=\"cbb-string\">'https:\/\/stats.example.com\/v1\/ping'<\/span> );\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Returns the settings merged with defaults. Every outgoing feature is off by default.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @return array<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_get_settings<\/span>() {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$defaults<\/span> = <span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'share_stats'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">false<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'show_credit'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">false<\/span>,\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">return<\/span> <span class=\"cbb-function\">wp_parse_args<\/span>( <span class=\"cbb-type\">(array)<\/span> <span class=\"cbb-function\">get_option<\/span>( <span class=\"cbb-string\">'rtbadge_settings'<\/span>, <span class=\"cbb-keyword\">array<\/span>() ), <span class=\"cbb-variable\">$defaults<\/span> );\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Stores exactly two booleans, whatever the form sends.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @param mixed $input Raw option value.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @return array<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_sanitize_settings<\/span>( <span class=\"cbb-variable\">$input<\/span> ) {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$input<\/span> = <span class=\"cbb-function\">is_array<\/span>( <span class=\"cbb-variable\">$input<\/span> ) ? <span class=\"cbb-variable\">$input<\/span> : <span class=\"cbb-keyword\">array<\/span>();\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">return<\/span> <span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'share_stats'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-keyword\">isset<\/span>( <span class=\"cbb-variable\">$input<\/span>&#91;<span class=\"cbb-string\">'share_stats'<\/span>&#93; ) &amp;&amp; <span class=\"cbb-function\">in_array<\/span>( <span class=\"cbb-variable\">$input<\/span>&#91;<span class=\"cbb-string\">'share_stats'<\/span>&#93;, <span class=\"cbb-keyword\">array<\/span>( <span class=\"cbb-constant\">true<\/span>, <span class=\"cbb-string\">'1'<\/span> ), <span class=\"cbb-constant\">true<\/span> ),\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'show_credit'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-keyword\">isset<\/span>( <span class=\"cbb-variable\">$input<\/span>&#91;<span class=\"cbb-string\">'show_credit'<\/span>&#93; ) &amp;&amp; <span class=\"cbb-function\">in_array<\/span>( <span class=\"cbb-variable\">$input<\/span>&#91;<span class=\"cbb-string\">'show_credit'<\/span>&#93;, <span class=\"cbb-keyword\">array<\/span>( <span class=\"cbb-constant\">true<\/span>, <span class=\"cbb-string\">'1'<\/span> ), <span class=\"cbb-constant\">true<\/span> ),\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">add_action<\/span>( <span class=\"cbb-string\">'admin_init'<\/span>, <span class=\"cbb-string\">'rtbadge_register_settings'<\/span> );\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Registers the option with a sanitize callback.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_register_settings<\/span>() {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-function\">register_setting<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'rtbadge'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'rtbadge_settings'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'type'<\/span>              <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-string\">'array'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'sanitize_callback'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-string\">'rtbadge_sanitize_settings'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'default'<\/span>           <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-string\">'share_stats'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">false<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-string\">'show_credit'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">false<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t),\n<\/span><span class=\"cbb-line\">\t\t)\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">add_action<\/span>( <span class=\"cbb-string\">'admin_menu'<\/span>, <span class=\"cbb-string\">'rtbadge_add_settings_page'<\/span> );\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Adds the settings page below Settings.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_add_settings_page<\/span>() {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-function\">add_options_page<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">__<\/span>( <span class=\"cbb-string\">'Reading Time Badge'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ),\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">__<\/span>( <span class=\"cbb-string\">'Reading Time Badge'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ),\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'manage_options'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'rtbadge'<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-string\">'rtbadge_render_settings_page'<\/span>\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Renders two unchecked-by-default opt-in checkboxes.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_render_settings_page<\/span>() {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-function\">current_user_can<\/span>( <span class=\"cbb-string\">'manage_options'<\/span> ) ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-keyword\">return<\/span>;\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$settings<\/span> = <span class=\"cbb-function\">rtbadge_get_settings<\/span>();\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">div<\/span> <span class=\"cbb-attr\">class<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"wrap\"<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">h1<\/span><span class=\"cbb-punct\">&gt;<\/span><span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-keyword\">echo<\/span> <span class=\"cbb-function\">esc_html<\/span>( <span class=\"cbb-function\">get_admin_page_title<\/span>() ); <span class=\"cbb-meta\">?&gt;<\/span><span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">h1<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">form<\/span> <span class=\"cbb-attr\">action<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"options.php\"<\/span> <span class=\"cbb-attr\">method<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"post\"<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">settings_fields<\/span>( <span class=\"cbb-string\">'rtbadge'<\/span> ); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">p<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">label<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t\t&lt;input type=\"checkbox\" name=\"rtbadge_settings&#91;share_stats&#93;\" value=\"1\" <span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">checked<\/span>( <span class=\"cbb-variable\">$settings<\/span>&#91;<span class=\"cbb-string\">'share_stats'<\/span>&#93; ); <span class=\"cbb-meta\">?&gt;<\/span>&gt;\n<\/span><span class=\"cbb-line\">\t\t\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">esc_html_e<\/span>( <span class=\"cbb-string\">'Allow sending plugin, WordPress and PHP versions to stats.example.com with the separate Send statistics button.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">label<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">p<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">p<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">label<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t\t&lt;input type=\"checkbox\" name=\"rtbadge_settings&#91;show_credit&#93;\" value=\"1\" <span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">checked<\/span>( <span class=\"cbb-variable\">$settings<\/span>&#91;<span class=\"cbb-string\">'show_credit'<\/span>&#93; ); <span class=\"cbb-meta\">?&gt;<\/span>&gt;\n<\/span><span class=\"cbb-line\">\t\t\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">esc_html_e<\/span>( <span class=\"cbb-string\">'Show a link to the plugin website next to the reading time on the public site.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">label<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">p<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">submit_button<\/span>(); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">form<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">form<\/span> <span class=\"cbb-attr\">action<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"&lt;?php echo esc_url( admin_url( 'admin-post.php' ) ); ?&gt;\"<\/span> <span class=\"cbb-attr\">method<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"post\"<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-punct\">&lt;<\/span><span class=\"cbb-tag\">input<\/span> <span class=\"cbb-attr\">type<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"hidden\"<\/span> <span class=\"cbb-attr\">name<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"action\"<\/span> <span class=\"cbb-attr\">value<\/span><span class=\"cbb-punct\">=<\/span><span class=\"cbb-string\">\"rtbadge_send_stats\"<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">wp_nonce_field<\/span>( <span class=\"cbb-string\">'rtbadge_send_stats'<\/span> ); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-meta\">&lt;?php<\/span> <span class=\"cbb-function\">submit_button<\/span>( <span class=\"cbb-function\">__<\/span>( <span class=\"cbb-string\">'Send statistics once'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ), <span class=\"cbb-string\">'secondary'<\/span> ); <span class=\"cbb-meta\">?&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">form<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-punct\">&lt;\/<\/span><span class=\"cbb-tag\">div<\/span><span class=\"cbb-punct\">&gt;<\/span>\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-meta\">&lt;?php<\/span>\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">add_action<\/span>( <span class=\"cbb-string\">'admin_post_rtbadge_send_stats'<\/span>, <span class=\"cbb-string\">'rtbadge_send_stats'<\/span> );\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Sends one request after a deliberate action by an authorized administrator.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_send_stats<\/span>() {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-keyword\">isset<\/span>( <span class=\"cbb-variable\">$_SERVER<\/span>&#91;<span class=\"cbb-string\">'REQUEST_METHOD'<\/span>&#93; ) || <span class=\"cbb-string\">'POST'<\/span> !== <span class=\"cbb-variable\">$_SERVER<\/span>&#91;<span class=\"cbb-string\">'REQUEST_METHOD'<\/span>&#93; ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'POST is required.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-function\">current_user_can<\/span>( <span class=\"cbb-string\">'manage_options'<\/span> ) ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'Permission denied.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-function\">check_admin_referer<\/span>( <span class=\"cbb-string\">'rtbadge_send_stats'<\/span> );\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$settings<\/span> = <span class=\"cbb-function\">rtbadge_get_settings<\/span>();\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( <span class=\"cbb-constant\">true<\/span> !== <span class=\"cbb-variable\">$settings<\/span>&#91;<span class=\"cbb-string\">'share_stats'<\/span>&#93; ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'Statistics sharing is disabled. Save the setting before sending.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$response<\/span> = <span class=\"cbb-function\">wp_safe_remote_post<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-constant\">RTBADGE_STATS_URL<\/span>,\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'timeout'<\/span>     <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-number\">5<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'redirection'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-number\">0<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'user-agent'<\/span>  <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-string\">'reading-time-badge\/'<\/span> . <span class=\"cbb-constant\">RTBADGE_VERSION<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-string\">'body'<\/span>        <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-keyword\">array<\/span>(\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-string\">'plugin_version'<\/span> <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">RTBADGE_VERSION<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-string\">'wp_version'<\/span>     <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-function\">get_bloginfo<\/span>( <span class=\"cbb-string\">'version'<\/span> ),\n<\/span><span class=\"cbb-line\">\t\t\t\t<span class=\"cbb-string\">'php_version'<\/span>    <span class=\"cbb-operator\">=&gt;<\/span> <span class=\"cbb-constant\">PHP_VERSION<\/span>,\n<\/span><span class=\"cbb-line\">\t\t\t),\n<\/span><span class=\"cbb-line\">\t\t)\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( <span class=\"cbb-function\">is_wp_error<\/span>( <span class=\"cbb-variable\">$response<\/span> ) ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'The request failed. No automatic retry is scheduled.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$status<\/span> = <span class=\"cbb-function\">wp_remote_retrieve_response_code<\/span>( <span class=\"cbb-variable\">$response<\/span> );\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( <span class=\"cbb-variable\">$status<\/span> &lt; <span class=\"cbb-number\">200<\/span> || <span class=\"cbb-variable\">$status<\/span> &gt;= <span class=\"cbb-number\">300<\/span> ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'The service did not return a successful HTTP response.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-function\">wp_die<\/span>( <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'The service returned a successful HTTP response. This does not verify storage.'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) );\n<\/span><span class=\"cbb-line\">}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-function\">add_filter<\/span>( <span class=\"cbb-string\">'the_content'<\/span>, <span class=\"cbb-string\">'rtbadge_prepend_reading_time'<\/span> );\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Prepends the reading time. The credit link appears only after opt-in.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @param string $content Post content.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @return string<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">function<\/span> <span class=\"cbb-function\">rtbadge_prepend_reading_time<\/span>( <span class=\"cbb-variable\">$content<\/span> ) {\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-function\">is_singular<\/span>( <span class=\"cbb-string\">'post'<\/span> ) || ! <span class=\"cbb-function\">in_the_loop<\/span>() || ! <span class=\"cbb-function\">is_main_query<\/span>() ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-keyword\">return<\/span> <span class=\"cbb-variable\">$content<\/span>;\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$words<\/span>   = <span class=\"cbb-function\">preg_split<\/span>( <span class=\"cbb-string\">'\/\\s+\/u'<\/span>, <span class=\"cbb-function\">trim<\/span>( <span class=\"cbb-function\">wp_strip_all_tags<\/span>( <span class=\"cbb-variable\">$content<\/span> ) ), <span class=\"cbb-number\">-1<\/span>, <span class=\"cbb-constant\">PREG_SPLIT_NO_EMPTY<\/span> );\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( <span class=\"cbb-constant\">false<\/span> === <span class=\"cbb-variable\">$words<\/span> ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-keyword\">return<\/span> <span class=\"cbb-variable\">$content<\/span>;\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$minutes<\/span> = <span class=\"cbb-function\">max<\/span>( <span class=\"cbb-number\">1<\/span>, <span class=\"cbb-type\">(int)<\/span> <span class=\"cbb-function\">ceil<\/span>( <span class=\"cbb-function\">count<\/span>( <span class=\"cbb-variable\">$words<\/span> ) \/ <span class=\"cbb-number\">200<\/span> ) ); <span class=\"cbb-comment\">\/\/ Assumes 200 words per minute.<\/span>\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$badge<\/span> = <span class=\"cbb-string\">'&lt;p class=\"rtbadge\"&gt;'<\/span> . <span class=\"cbb-function\">esc_html<\/span>(\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-function\">sprintf<\/span>(\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-comment\">\/* translators: %d: estimated reading time in minutes *\/<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-function\">_n<\/span>( <span class=\"cbb-string\">'%d minute read'<\/span>, <span class=\"cbb-string\">'%d minutes read'<\/span>, <span class=\"cbb-variable\">$minutes<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ),\n<\/span><span class=\"cbb-line\">\t\t\t<span class=\"cbb-variable\">$minutes<\/span>\n<\/span><span class=\"cbb-line\">\t\t)\n<\/span><span class=\"cbb-line\">\t);\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-variable\">$settings<\/span> = <span class=\"cbb-function\">rtbadge_get_settings<\/span>();\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">if<\/span> ( <span class=\"cbb-constant\">true<\/span> === <span class=\"cbb-variable\">$settings<\/span>&#91;<span class=\"cbb-string\">'show_credit'<\/span>&#93; ) {\n<\/span><span class=\"cbb-line\">\t\t<span class=\"cbb-variable\">$badge<\/span> .= <span class=\"cbb-string\">' &amp;middot; &lt;a href=\"'<\/span> . <span class=\"cbb-function\">esc_url<\/span>( <span class=\"cbb-string\">'https:\/\/example.com\/reading-time-badge\/'<\/span> ) . <span class=\"cbb-string\">'\"&gt;'<\/span>\n<\/span><span class=\"cbb-line\">\t\t\t. <span class=\"cbb-function\">esc_html__<\/span>( <span class=\"cbb-string\">'Reading Time Badge'<\/span>, <span class=\"cbb-string\">'reading-time-badge'<\/span> ) . <span class=\"cbb-string\">'&lt;\/a&gt;'<\/span>;\n<\/span><span class=\"cbb-line\">\t}\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">\t<span class=\"cbb-keyword\">return<\/span> <span class=\"cbb-variable\">$badge<\/span> . <span class=\"cbb-string\">'&lt;\/p&gt;'<\/span> . <span class=\"cbb-variable\">$content<\/span>;\n<\/span><span class=\"cbb-line\">}<\/span><\/code><\/pre><span class=\"cbb-status\" role=\"status\"><\/span><\/figure>\n<p>The request contains three version fields. A custom user agent replaces the WordPress HTTP API default, which also includes the site URL. The recipient can still see the server\u2019s source IP address. Redirects are disabled. An HTTP response from 200 to 299 confirms a successful server response, not storage of the data. Another click can trigger another attempt; no automatic retries or weekly lock are included.<\/p>\n<p>The two forms have different jobs: saving changes stores the choices, while the second button sends once. Clearing the checkbox also needs saving before further sends are disabled. The confirmation page is intentionally simple; a finished plugin could display an appropriate notice on the settings page instead.<\/p>\n<h2>Explain the transfer in the readme<\/h2>\n<p>Documentation states the purpose, trigger, data and recipient. Links to the service, terms and privacy information must lead to actual pages in a finished plugin. The following English section is a template for the same manual workflow:<\/p>\n<figure style=\"--cbb-digits:2\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"plain\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">Text<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" aria-label=\"Copy code\" data-cbb-status-done=\"Code copied to the clipboard.\" data-cbb-status-failed=\"Copying failed. The code is selected for copying with Ctrl+C or \u2318+C.\" data-cbb-status-noselect=\"Copying failed.\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\" role=\"region\" aria-label=\"Code example: Text\"><code class=\"cbb-code language-plain\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\">== Privacy and external services ==\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">Reading Time Badge calculates reading time locally and works without an external service.\n<\/span><span class=\"cbb-line\">Statistics sharing and the public credit link are disabled by default.\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">Saving the statistics opt-in does not send a request. After that setting is saved,\n<\/span><span class=\"cbb-line\">an administrator can press \"Send statistics once\" to send one request to\n<\/span><span class=\"cbb-line\">https:\/\/stats.example.com\/v1\/ping. Each additional click can send another request.\n<\/span><span class=\"cbb-line\">Clearing the opt-in and saving the setting prevents further sends by this feature.\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">The example request body contains plugin, WordPress and PHP versions.\n<\/span><span class=\"cbb-line\">The example does not add site content or the site URL to that body or its custom user agent.\n<\/span><span class=\"cbb-line\">The receiving service can see the server's source IP address.\n<\/span><span class=\"cbb-line\">No automatic retry or weekly schedule is implemented.\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\">The example addresses below are placeholders and must be replaced with actual service details.\n<\/span><span class=\"cbb-line\">* Service: https:\/\/stats.example.com\/\n<\/span><span class=\"cbb-line\">* Terms of use: https:\/\/stats.example.com\/terms\/\n<\/span><span class=\"cbb-line\">* Privacy policy: https:\/\/stats.example.com\/privacy\/<\/span><\/code><\/pre><span class=\"cbb-status\" role=\"status\"><\/span><\/figure>\n<h2>The name and permanent address<\/h2>\n<p>The slug is the short name in the address, such as <code>wordpress.org\/plugins\/reading-time-badge<\/code>. The plugin folder, SVN address and translation text domain also use this value. The initial proposal comes from <code>Plugin Name<\/code> in the main file header.<\/p>\n<p>The official pages describe name collisions differently: the submission page mentions an appended number, while the developer FAQ mentions an upload warning. The confirmed slug therefore matters. An original name avoids depending on automatic numbering.<\/p>\n<p>The submission page permits one self-service slug change before review starts. During review, changes are discussed in the existing email thread. The team can still change the slug before approval; after approval, renaming the slug is no longer available. The displayed plugin name can change later.<\/p>\n<p>Another brand cannot be the sole or first term in a slug without confirmed ownership or authorized representation. \u201cDelivery Dates for WooCommerce\u201d illustrates a feature followed by a brand; \u201cWooCommerce Delivery Dates\u201d can imply official origin. The first pattern is not automatic legal approval for every specific use of a name.<\/p>\n<figure style=\"--cbb-digits:2\" class=\"cbb cbb--wrap cbb--numbers wp-block-code-beautifier-block-code\" data-lang=\"php\"><figcaption class=\"cbb-head\"><span class=\"cbb-lang\">PHP<\/span><span class=\"cbb-actions\"><button type=\"button\" class=\"cbb-button cbb-button--wrap\" data-cbb-action=\"wrap\" aria-pressed=\"true\" title=\"Wrap long lines\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><path d=\"M2 4h12M2 8h9.5a2.5 2.5 0 0 1 0 5H8m0 0 1.5-1.5M8 13l1.5 1.5M2 12h3\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\" stroke-linecap=\"round\" stroke-linejoin=\"round\"\/><\/svg><span class=\"cbb-sr\">Wrap long lines<\/span><\/button><button type=\"button\" class=\"cbb-button cbb-button--copy\" data-cbb-action=\"copy\" aria-label=\"Copy code\" data-cbb-status-done=\"Code copied to the clipboard.\" data-cbb-status-failed=\"Copying failed. The code is selected for copying with Ctrl+C or \u2318+C.\" data-cbb-status-noselect=\"Copying failed.\"><svg aria-hidden=\"true\" focusable=\"false\" width=\"16\" height=\"16\" viewBox=\"0 0 16 16\"><rect x=\"5.5\" y=\"5.5\" width=\"8\" height=\"8.5\" rx=\"1.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><path d=\"M10.5 3.5V3A1.5 1.5 0 0 0 9 1.5H4A1.5 1.5 0 0 0 2.5 3v6.5A1.5 1.5 0 0 0 4 11h.5\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.5\"\/><\/svg><span class=\"cbb-button-label\">Copy<\/span><\/button><\/span><\/figcaption><pre class=\"cbb-pre\" tabindex=\"0\" role=\"region\" aria-label=\"Code example: PHP\"><code class=\"cbb-code language-php\" style=\"counter-reset:cbb-line 0;\"><span class=\"cbb-line\"><span class=\"cbb-meta\">&lt;?php<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/**<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Plugin Name: Delivery Dates for WooCommerce<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Description: Lets customers pick a delivery date at checkout.<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Version:     1.0.0<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * License:     GPLv2 or later<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * Text Domain: delivery-dates-for-woocommerce<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> * @package DeliveryDatesForWooCommerce<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\"> *\/<\/span>\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/\/ Main file: delivery-dates-for-woocommerce\/delivery-dates-for-woocommerce.php<\/span>\n<\/span><span class=\"cbb-line\"><span class=\"cbb-comment\">\/\/ Slug proposed on submission: delivery-dates-for-woocommerce<\/span>\n<\/span><span class=\"cbb-line\">\n<\/span><span class=\"cbb-line\"><span class=\"cbb-keyword\">if<\/span> ( ! <span class=\"cbb-function\">defined<\/span>( <span class=\"cbb-string\">'ABSPATH'<\/span> ) ) {\n<\/span><span class=\"cbb-line\">\texit;\n<\/span><span class=\"cbb-line\">}<\/span><\/code><\/pre><span class=\"cbb-status\" role=\"status\"><\/span><\/figure>\n<h2>From submission to publication<\/h2>\n<p>The ZIP must install as a plugin. The FAQ identifies a 10 MB size limit; unnecessary development files increase package size. Since October 2024, accounts with submission or commit access require two-factor authentication: an additional sign-in factor beyond the password. SVN has a separate password feature.<\/p>\n<p>The 1 October 2024 announcement describes Plugin Check as a pre-check: errors in the Plugin Repo category block submission. That is the documented starting point; the current checks can evolve. A clean automated result does not replace review by the team.<\/p>\n<p>Findings are addressed in the same email thread. After rejection because a review remains unfinished after three months, the FAQ calls for resubmission and a reply to the old email. Other rejection reasons call for discussion in the existing thread, not a new submission.<\/p>\n<p>Approval provides SVN access. SVN is a store for release-ready versions, not every development step. <code>trunk\/<\/code> holds the current code, <code>tags\/<\/code> named versions and <code>assets\/<\/code> directory images. A commit transfers changes to the repository and can trigger publication.<\/p>\n<p>Distribution through the update API is separate. The 9 September 2026 announcement states a six-hour cooldown and an automated security review. High risk scores can block a release. This distribution is distinct from merely storing files in SVN.<\/p>\n<figure class=\"lw-diagram\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/dia-20851-review-20261024.png?v=20261114\" width=\"1120\" height=\"580\" alt=\"From plugin ZIP to publication\"><figcaption>Upload, review and publication are separate steps. The six-hour update distribution rule refers to the September 2026 announcement.<\/figcaption><\/figure>\n<h2>What these checks cannot establish<\/h2>\n<p>Historical queue counts describe a backlog, not an individual waiting time. A small number of unreviewed submissions does not guarantee a quick decision. The submission page states a five-business-day target and a range of one to ten days, depending on complexity. These figures are not a deadline commitment.<\/p>\n<p>The example was tested in isolation for access checks, consent, request failures and output. Such tests replace neither a full WordPress run nor Plugin Check or the directory team\u2019s decision.<\/p>\n<div class=\"lw-faq\"><h2>Questions and answers<\/h2>\n<h3>Can a free plugin promote a Pro offer?<\/h3><p>Yes, within the limits of rules 5, 8 and 11 described above. Included functions remain usable. A separate add-on or an actual external service can be paid.<\/p>\n<h3>Is a clean Plugin Check run enough?<\/h3><p>No. Licensing, service purpose, presentation and naming rights are not settled by that result. Review by the team remains necessary.<\/p>\n<h3>Does the absence of a request error prove storage?<\/h3><p>No. Even a successful HTTP response does not establish that the recipient saved the data. Without consent or valid form and permission checks, the example makes no request.<\/p>\n<h3>How many plugins can be in review at once?<\/h3><p>The developer FAQ normally permits one submission. Authors with more than one million active plugin installations have a higher limit of up to ten. Extra accounts cannot be used to bypass the limit.<\/p><\/div>\n<div class=\"lw-quellen\">\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/wordpress-org\/detailed-plugin-guidelines\/\" rel=\"noopener noreferrer\" target=\"_blank\">Detailed Plugin Guidelines<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/wordpress-org\/common-issues\/\" rel=\"noopener noreferrer\" target=\"_blank\">Common issues<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/wordpress-org\/plugin-developer-faq\/\" rel=\"noopener noreferrer\" target=\"_blank\">Plugin Developer FAQ<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/plugins\/developers\/add\/\" rel=\"noopener noreferrer\" target=\"_blank\">Plugin submission<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/wordpress-org\/planning-submitting-and-maintaining-plugins\/\" rel=\"noopener noreferrer\" target=\"_blank\">Planning, Submitting, and Maintaining Plugins<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/plugins\/wordpress-org\/how-to-use-subversion\/\" rel=\"noopener noreferrer\" target=\"_blank\">How to Use Subversion<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/plugins\/2024\/10\/01\/plugin-check-and-2fa-now-mandatory-for-new-plugin-submissions\/\" rel=\"noopener noreferrer\" target=\"_blank\">Plugin Check and 2FA Now Mandatory For New Plugin Submissions<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/updates\/2026\/09\/28\/plugins-team-28-sep-2026\/\" rel=\"noopener noreferrer\" target=\"_blank\">Plugins Team: 28 Sep 2026<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/updates\/2026\/09\/07\/plugins-team-7-sep-2026\/\" rel=\"noopener noreferrer\" target=\"_blank\">Plugins Team: 7 Sep 2026<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/plugins\/2026\/06\/13\/update-on-the-status-of-the-team-june-2026\/\" rel=\"noopener noreferrer\" target=\"_blank\">Update on the status of the team \u2013 June 2026<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/plugins\/2026\/01\/07\/a-year-in-the-plugins-team-2025\/\" rel=\"noopener noreferrer\" target=\"_blank\">A Year in the Plugins Team \u2013 2025<\/a><\/li>\n<li><a href=\"https:\/\/make.wordpress.org\/plugins\/2026\/09\/09\/automated-security-review-for-plugin-releases\/\" rel=\"noopener noreferrer\" target=\"_blank\">Automated security review for plugin releases<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/WordPress\/wordpress-develop\/blob\/trunk\/src\/wp-includes\/class-wp-http.php\" rel=\"noopener noreferrer\" target=\"_blank\">class-wp-http.php (default user agent)<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/apis\/transients\/\">WordPress Transients API<\/a><\/li><li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_safe_remote_post\/\">WordPress: wp_safe_remote_post<\/a><\/li><li><a href=\"https:\/\/developer.wordpress.org\/apis\/security\/nonces\/\">WordPress: Nonces<\/a><\/li><\/ul>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Why WordPress.org can reject a working plugin: licensing, paid features, external requests and names. The example sends statistics only after a separate click and explains the steps from upload to publication.<\/p>\n","protected":false},"author":1,"featured_media":29890,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[91093,92757,91096],"class_list":["post-20851","post","type-post","status-publish","format-standard","hentry","category-wordpress-plugins-tricks","tag-php","tag-web-development","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-03T06:12:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-14T22:38:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"14 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"headline\":\"WordPress.org plugin guidelines: why submissions get rejected\",\"datePublished\":\"2026-10-03T06:12:00+00:00\",\"dateModified\":\"2026-11-14T22:38:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/\"},\"wordCount\":1689,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-20851-20851.png\",\"keywords\":[\"PHP\",\"Web Development\",\"WordPress\"],\"articleSection\":[\"WordPress Plugins &amp; Tricks\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/\",\"name\":\"WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-20851-20851.png\",\"datePublished\":\"2026-10-03T06:12:00+00:00\",\"dateModified\":\"2026-11-14T22:38:47+00:00\",\"description\":\"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-20851-20851.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/flux-voll-20851-20851.png\",\"width\":1200,\"height\":630,\"caption\":\"WordPress.org plugin guidelines: why submissions get rejected\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/de\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress.org plugin guidelines: why submissions get rejected\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik","description":"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/","og_locale":"en_US","og_type":"article","og_title":"WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik","og_description":"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/","og_site_name":"Lukas Wojcik - Blog","article_published_time":"2026-10-03T06:12:00+00:00","article_modified_time":"2026-11-14T22:38:47+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"14 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"headline":"WordPress.org plugin guidelines: why submissions get rejected","datePublished":"2026-10-03T06:12:00+00:00","dateModified":"2026-11-14T22:38:47+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/"},"wordCount":1689,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png","keywords":["PHP","Web Development","WordPress"],"articleSection":["WordPress Plugins &amp; Tricks"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/","name":"WordPress.org plugin guidelines: why submissions get rejected | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png","datePublished":"2026-10-03T06:12:00+00:00","dateModified":"2026-11-14T22:38:47+00:00","description":"What the WordPress.org plugin review checks: GPL, trialware, opt-in before tracking, credit links, trademark slugs and the review queue in September 2026.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/11\/flux-voll-20851-20851.png","width":1200,"height":630,"caption":"WordPress.org plugin guidelines: why submissions get rejected"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/wordpress-org-plugin-guidelines-why-submissions-get-rejected\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/de\/"},{"@type":"ListItem","position":2,"name":"WordPress.org plugin guidelines: why submissions get rejected"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/20851","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=20851"}],"version-history":[{"count":4,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/20851\/revisions"}],"predecessor-version":[{"id":25871,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/20851\/revisions\/25871"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/29890"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=20851"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=20851"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=20851"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}