
CloneMute Staging Safety for WooCommerce
v0.1.0rotosix · 2026年11月27日 上架
Makes a copied WooCommerce site safe to test: once confirmed as staging, CloneMute blocks mail, payments, scheduled tasks and known external services.
- 正在使用
- 10 以下
- 评分
- 暂无
- 累计下载
- 0
- 最近更新
- 2026年11月27日
贡献者
You copied a live shop to test an update. A few hours later a customer receives an order email from the test site, a renewal task runs against a real payment method, or the copy shows up in Google. CloneMute is built for that moment.
CloneMute works with any way of copying a site: your host’s staging button, WP STAGING, InstaWP, a manual clone or a local development copy. It looks at several signals to suggest that a site is a copy, then asks you to confirm. Nothing is blocked until you confirm, and a site you confirm as production is never touched.
When you confirm that a site is a staging site, CloneMute:
- Outgoing mail: drops mail sent through
wp_mail()(WooCommerce orders, password resets, queued mail) or redirects it to a test inbox. Subjects get a[STAGING]prefix. Allow your own team domains. Blocked mail is logged without the message body and with masked recipients. - Payment gateways: removes every gateway except the offline ones (bank transfer, cheque, cash on delivery) from the classic and the block checkout, with a clear notice. Place test orders with an offline gateway.
- Scheduled tasks: pauses WP-Cron events and Action Scheduler queues. Pending tasks are kept, not deleted, and run again when you remove the protection. Core maintenance tasks keep running.
- External services: blocks requests made through the WordPress HTTP API to payment, mail and messaging services (Stripe, PayPal, WooPayments, Mailgun, SendGrid, Postmark, Mailchimp, MailPoet, Twilio and more). Other plugins can add their own hosts. You can allow hosts, and wordpress.org and your own site are never blocked.
- Search engines and visitors: adds noindex headers and a robots.txt that disallows everything. Optionally require a login for the whole site, with the exceptions you list.
- REST API: limits anonymous access to the REST API (products and content) on the copy.
- Safety net: if a staging database is later pushed to production, the protection switches itself off (the recorded host no longer matches) and a large alert asks you to check that real mail and payments work. One click removes all protections, and
wp-config.phpconstants can turn single protections off.
Before you enable anything CloneMute shows a read-only report of what the copy would do if nothing were blocked: pending scheduled actions by hook, configured payment gateways (never showing keys), customer emails that would be sent and external services found in your settings.
What CloneMute cannot do
CloneMute reduces the risk; it does not guarantee anything. It does not cover plugins that talk to a mail or payment service directly through their own SDK or cURL calls, server-level cron jobs, or external webhook subscriptions that already exist at the other end. If another plugin replaces wp_mail(), CloneMute tells you, because it may not see or change that mail.
Privacy
CloneMute does not contact any server, has no telemetry and loads no scripts or styles on the front end. Recipients in the log are masked by default (a***@example.com); you can choose to store complete addresses, in which case they are included in the WordPress personal data export and erase tools. Log entries are kept 14 days (up to 2000 entries) by default.
Not included
CloneMute does not create, clone or push sites, does not protect logins, and does not back up or roll back updates.
External services
CloneMute does not connect to any external service and sends no data anywhere. The host names in data/blocked-hosts.php (Stripe, PayPal, Mailgun, SendGrid, Twilio, graph.facebook.com, Slack, Zapier and others) are a block list: on a site you confirmed as staging, CloneMute stops requests that other plugins make to these hosts through the WordPress HTTP API. CloneMute itself does not send any request to them.