-
Notifications
You must be signed in to change notification settings - Fork 15
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
Remove redundant update code #147
Comments
I was just in the process of doing a PR for this. I think there are two separate issues. Maintaining compatibility for WC < 3.0 is one issue. But the issue I referred to only affects updates. The question I am asking is: does the update code in includes/wc-update-functions.php and includes/class-wc-install.php only affect existing WC installations where someone is updating WooCommerce to a later version? If you installed a clean copy of WooCommerce 3.5.3, would this update code still be required? EDIT: the code I'm referring to is basically everything in includes/wc-update-functions.php except for the newly added |
For a clean install, simple answer is no effect whatsoever. These have an effect if you are moving from an older WC to CC or WC 3.5.3. I am thinking of the folks who have not touched their e-commerce for ages since let's say 3.0.0 and have now chosen to move CC. They need to update their DB. Questions:
Answering the above will lead to move code that can be removed as being redundant in code base. It is a big decision. However, initially, we had wanted to have a WC-3.5.3 backward compatible plugin. We could reserve this for CC-2.0.0 |
OK, I see your point. Let's leave it as it is for now and tag it for 2.0. |
This in itself brings a new issue. There is code for WC < 3.0. Do we want to maintain this? If we have an answer for this we can then sort out that issue of redundant code too.
Originally posted by @bahiirwa in #143 (comment)
The text was updated successfully, but these errors were encountered: