Automattic / studio

Studio by WordPress.com, a free desktop app that helps developers streamline their local WordPress development workflow.
https://developer.wordpress.com/studio/
GNU General Public License v2.0
175 stars 17 forks source link

Feature Request: Allow changing the WordPress version from the app #84

Open ndiego opened 5 months ago

ndiego commented 5 months ago

What

It would be great if you could easily change the WordPress version in the site settings.

Why

When developing plugins/themes, you often need to test backward compatibility. While there are plugins that allow this functionality, being able to select other WordPress versions in the app would be awesome. Ideally you could select beta/nightly versions as well, much like you currently can in Playground.

How

I imagine a dropdown with the various selectable WP versions could be added here:

image
wojtekn commented 2 months ago

Thanks for the feature request @ndiego. We may add that feature at some point, but until it's done, you can use the CLI to change version:

wp core update --version=6.5 --force

To make it work, you need to have WP CLI binary installed system-wide, or just adjust the command to use wp from location you prefer.