Skip to content

v0.6.0 — slug rename to opensalestax-for-woocommerce

Choose a tag to compare

@ejosterberg ejosterberg released this 16 May 01:11
· 9 commits to main since this release

Summary

Renames the plugin slug opensalestax-woocommerceopensalestax-for-woocommerce to comply with WordPress.org's trademark policy. The bare woocommerce term in plugin slugs is restricted by WP-org unless paired with one of the allowed patterns: for woocommerce, with woocommerce, using woocommerce, or and woocommerce. Plugin Check flagged this as a WARNING in v0.5.1; the WP-org reviewer treats it as a hard reject.

Changed

  • Main PHP file renamed opensalestax-woocommerce.phpopensalestax-for-woocommerce.php (via git mv — blame and history preserved).
  • Text domain renamed across every __() / _e() / esc_html__() / esc_attr__() call in src/ and the main file. Plugin-header Text Domain: updated to match.
  • Plugin headers Plugin URI: and Author URI: updated to the new GitHub repository URL.
  • Composer package name ejosterberg/opensalestax-woocommerceejosterberg/opensalestax-for-woocommerce. Old Packagist package marked abandoned with replacement: ejosterberg/opensalestax-for-woocommerce; existing composer require ejosterberg/opensalestax-woocommerce in consumers' composer.json gets a deprecation warning pointing at the new package.
  • WC logger source slug renamed (wc_get_logger()->warning(..., ['source' => 'opensalestax-for-woocommerce'])) so the new log channel matches the new plugin slug.
  • GitHub repository renamed ejosterberg/opensalestax-woocommerceejosterberg/opensalestax-for-woocommerce. GitHub auto-installs a redirect from the old URL; existing clones and links continue to work.

Unchanged

  • User-visible plugin name — still "OpenSalesTax for WooCommerce" (already user-friendly).
  • PHP namespaces — still OpenSalesTax\WooCommerce\… (not slug-derived). Class names unchanged.
  • Internal option keys (opensalestax_*) — none contained woocommerce.
  • Enqueue handles (opensalestax-admin) — already prefix-clean.
  • Behavior — no functional changes; no settings migration required.

Verified

  • Plugin Check (WP-CLI mode, run on VM 907 against the deployed copy on the new slug) reports 0 errors + 0 warnings. The v0.5.1 trademarked_term warning is gone.
  • 115 unit tests green; PHPStan max + PHP-CS-Fixer dry-run + composer audit all clean.
  • CI matrix green on PHP 8.2 / 8.3 / 8.4.

Upgrade notes

Drop the new opensalestax-for-woocommerce/ directory into wp-content/plugins/, activate, and de-activate the old opensalestax-woocommerce/ directory if you had it. Settings and tax-class mappings persist in wp_options (opensalestax_* keys) unchanged. No migration step required.

Full changelog

See CHANGELOG.md.