Skip to content

Lesson 9 of 9 · 29m

Distribution, Updates, and Support: The Ecosystem Is Part of the Product

WordPress.org vs commercial distribution, update servers, licensing, rollback safety, support discipline, and the operational realities of shipping to strangers.

A plugin is not finished when the feature works locally. Distribution determines how updates arrive, what metadata users see, how rollbacks happen, and whether you can respond when a release breaks a subset of sites. In WordPress, deployment is decentralized: you do not control PHP versions, object caches, database engines, or neighboring plugins. Your release process has to survive that.

wordpress.org distribution is a promise

The directory gives you trust, discovery, and built-in updates through the WordPress updater. It also imposes rules: no phoning home without consent, no obfuscated code, no unrelated upsells, correct licensing, and accurate readme metadata. A minimal readme.txt is not optional decoration:

=== Acme Inventory ===
Contributors: acme
Tags: inventory, warehouse, sync
Requires at least: 6.2
Tested up to: 6.7
Requires PHP: 8.0
Stable tag: 1.4.0
License: GPLv2 or later

Sync inventory counts with warehouse systems.

The updater uses Stable tag and version metadata to decide what users receive. Tagging the wrong version can push unfinished code to production sites immediately.

Commercial plugins need an update server

If you sell direct, WordPress does not know where updates live unless you provide them through plugins_api and pre_set_site_transient_update_plugins, or use a mature updater library. The implementation details matter because update checks run often, cache aggressively, and must never expose license keys publicly.

A sane update response includes:

  • plugin slug and new version
  • package download URL
  • minimum WordPress/PHP requirements
  • tested version
  • changelog metadata
  • cryptographic or authenticated download controls where appropriate

Never gate security patches behind confusing license states. If a license expires, it is reasonable to stop feature updates; forcing vulnerable users into manual upgrade paths is a reputational and security failure.

Releases are migrations, not zips

Every release should answer four questions before upload:

  1. Can activation upgrade safely from the oldest supported version?
  2. Can the database migration be retried if interrupted?
  3. Can users roll back without corrupting data?
  4. Do cron jobs or queues created by the previous version remain compatible?

Avoid destructive schema migrations in minor releases. Add columns first, backfill in batches, then remove old structures in a later major release. If a rollback can happen, write-forward-compatible data.

Versioning and changelogs are operational tools

Semantic versioning is useful if you honor it. Patch releases fix defects without behavior changes. Minor releases add backwards-compatible capability. Major releases can break integrations — and must document exactly what changed.

A changelog like “improvements and fixes” tells operators nothing. A useful entry says:

= 1.4.1 =
* Fix: prevent duplicate stock reservation when two wp-cron workers claimed the same job
* Security: require manage_inventory capability for batch retry AJAX action
* Compatibility: requires PHP 8.0 or later

Support is part of engineering

You will receive reports like “it broke checkout.” Make diagnosis possible before blaming the user. Add a diagnostic screen or WP-CLI command that reports versions, migration state, queue counts, last errors, and redacted integration configuration. Define log retention and privacy expectations.

Use staging-like reproduction locally: same PHP major version, WordPress version, relevant object cache behavior, and plugin dependencies when possible. If you cannot reproduce, ask for a narrow slice of evidence — exact versions, fatal error stack trace, failing request ID, and whether the failure occurs in admin, cron, or checkout.

Field notes

  • Test installation from a zip, not only from your development checkout; build steps often omit assets.
  • Do not force-update remote libraries inside plugin code; operators cannot audit or pin that supply chain.
  • Beta releases should use distinct slugs or channels. Accidentally shipping beta packages to stable users is difficult to undo.
  • When a release is bad, communicate fast: affected versions, symptoms, immediate mitigation, and whether rollback is safe.

Was this lesson helpful?

Sign in to rate