Automattic / wp-calypso

The JavaScript and API powered WordPress.com
https://developer.wordpress.com
GNU General Public License v2.0
12.43k stars 1.99k forks source link

Feature Request: Add option to reset staging sites #95480

Open Gustavo-Hilario opened 2 weeks ago

Gustavo-Hilario commented 2 weeks ago

What

Introduce a feature that allows users to reset their staging site to a clean state, removing all content, themes, and plugins that were cloned from the production site.

Why

Users often need a clean environment to test new themes or rebuild their site from scratch without affecting the live production site. Currently, the staging site clones the production site, and users must manually delete content if they want a fresh start. This process is time-consuming and prone to errors. A reset feature would streamline the process of setting up a staging environment for theme testing or site rebuilding, enhancing the overall user experience on WordPress.com.

Custom request here: 8898816-zen

Since the staging site is not publicly available, I don't think it would be detrimental to add this reset feature on staging sites as well.

How

To implement this, we can simply add the same feature that's already available on production sites. Maybe some extra warnings need to be added as well.

github-actions[bot] commented 2 weeks ago

Support References

This comment is automatically generated. Please do not edit it.