Updated Release Testing Instructions WooCommerce 5.2 (markdown)

Greg 2021-03-25 09:35:47 -06:00
parent ec0a63a797
commit f0145393a1
1 changed files with 15 additions and 9 deletions

@ -403,15 +403,21 @@ Next:
#### Remove compatibility checks for major version [(29200)](https://github.com/woocommerce/woocommerce/pull/29200)
1. Install one of the extensions that haven't declared compatibility with WC 5, e.g. Bookings
2. Go to /wp-admin/plugins.php
3. You should see Auto updates disabled on the right side of WC core.
4. Set WC core version to something below 5.0 (e.g 4.9.0 in woocommerce.php comment at the top and in class-woocommerce.php).
5. Go to /wp-admin/update-core.php, select WooCommerce in the list of plugins and hit update, you should see a warning as in the picture below.
6. Apply this branch.
7. Go to /wp-admin/plugins.php
3. It should be possible to enable auto-updates for WC core.
4. Go to /wp-admin/update-core.php, select WooCommerce in the list of plugins and hit update, no more warnings should stop you from updating.
1. Start with WC 5.2 beta
2. Install a plugin that triggers the old warning (such as `woocommerce-gateway-amazon-payments-advanced.1.12.2__1_.zip`)
3. WP Admin: Go to Plugins
4. With 5.2 beta, you should see an active link saying “Enable auto-updates” on the line with WooCommerce, to the right
5. WP Admin: Go to Plugins > Plugin Editor
6. Select WooCommerce in the top right corner dropdown, click Select, it should show the source of woocommerce.php
7. Change line 6 from * Version: 5.2.0-dev to * Version: 4.9.0, click on Update File at the bottom
8. Switch to next file:
9. Click on includes on the right in the column with file names, under includes, find class-woocommerce.php and click on it
10. On line 26 update public $version = '5.2.0'; to public $version = '4.9.0'; , click on Update File
11. Go to /wp-admin/update-core.php, select WooCommerce in the list of plugins and hit update, no more warnings should stop you from updating. WC will update to the latest version (5.1, as of now)
The checkpoints being steps 4 and 11:
step 4: enable auto-updates is an active link, not greyed out
step 11: no warning is displayed
![Screenshot 2021-02-23 at 13 22 08](https://user-images.githubusercontent.com/2207451/108844785-d616b780-75dc-11eb-9ee8-cdeec23dda9d.png)