Skip to main content

Rentiva v4.38.2 — Dev mode fix: Traefik *.localhost support

· One min read
MaxHandMade
Maintainer

A focused developer-experience fix. The Traefik migration from localhost:port to *.localhost domains silently broke automatic Pro dev mode on all local Docker stacks — v4.38.2 restores zero-config development.

What changed

🐛 Dev mode fix — *.localhost domain recognition

LicenseManager::isDevelopmentEnvironment() now recognises *.localhost domains (Traefik reverse-proxy convention: rentiva.localhost, bozcon.localhost, etc.).

Before: Only .local / .test / .dev / .staging TLDs were in the allowlist. .localhost was missing, so isActive() returned false on all Traefik-based environments — blocking Pro feature development without a real license or manual wp-config.php overrides.

After: Zero-config Pro dev mode on any *.localhost domain. No constants, no license key, no config changes required.

🧪 Test compatibility

VendorDirectoryRewriteTest: whitelisted WP_Block_Bindings_Registry::register notice for WP 6.7 compatibility.

Tests

1058 → 1070 PHPUnit (+12), 3332 assertions, 0 failures, 7 skipped. PHPCS: 0 errors.