Closed mattallan closed 3 years ago
Thanks @mattallan. Other than the variable name, this looks good. I tested both scenarios and it worked as expected.
Thanks for the review @LCmry ! I've just forced pushed that variable name preference 😃 This should be good for another review, thanks!
Internal link: paJDYF-1uJ-p2 Parent GH link: 10117-gh-Automattic/woocommerce.com
Description
This PR adds the WC Admin inbox notification option to PPXO as per: pb0GrA-1cH-p2#comment-2063
Steps to test:
The option should be added on plugin activation and upgrade.
Plugin Activation
wc_inbox_option
woocommerce_inbox_variant_assignment
from wp_options if it already existswoocommerce_inbox_variant_assignment
is a random value from 1-12Plugin Upgrade
woocommerce_inbox_variant_assignment
from wp_options if it already existswc_ppec_version
to be 1 version behind (i.e. 2.1.0)woocommerce_inbox_variant_assignment
is a random value from 1-12