Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to access any WordPress version #533

Closed
johnbillion opened this issue Dec 16, 2014 · 6 comments
Closed

Ability to access any WordPress version #533

johnbillion opened this issue Dec 16, 2014 · 6 comments

Comments

@johnbillion
Copy link

For a while now I've had a rather funky setup for my WordPress development environment which allows me to access any WordPress version simply by changing the domain name. For example, to access the 3.9.1 tag I visit 391.wp. To access the 4.0 branch I visit 40.wp.

I access Multisite variants by prepending m to the domain, such as m381.wp for Multisite on 3.8.1. I can also access the built version by prepending b, such as b40.wp for the built version of the 4.0 branch.

The reason it's done with domain names instead of just using example.wp/branches/4.0 is to avoid cookie clashes when working with Multisite, and the ability to quickly view and clear cookies by domain.

This is incredibly handy when testing if issues reported against core exist in previous versions.

Is this something that could be useful in VVV? I'd be willing to do some work on it if so.

@grappler
Copy link

👍

@cfoellmann
Copy link
Member

Do you use some "trick" or provision all these sites?

@jeremyfelt
Copy link
Member

This would be very useful! I'm thinking we should get configuration in order first so that one can easily pick and choose what sites they want to bring up.

Would this make sense as additional VVV repositories, similar to @cfoellmann's multisite one? https://github.com/Varying-Vagrant-Vagrants/vvv-multisite

@jeremyfelt
Copy link
Member

I think something like this becomes a lot easier now that #980 has been merged. We could setup an additional vvv-wp-versions repo or similar that provides the nginx config and all of the various WP versions as needed.

@tomjn
Copy link
Member

tomjn commented Nov 3, 2017

This is implemented in https://github.com/Varying-Vagrant-Vagrants/custom-site-template via the wp_version custom flag

@tomjn tomjn closed this as completed Nov 3, 2017
@lock
Copy link

lock bot commented Feb 22, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Feb 22, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

5 participants