Merge pull request #18151 from woocommerce/fix/18149

Save offline gateways in wizard
This commit is contained in:
Mike Jolley 2017-12-14 16:45:20 +00:00 committed by GitHub
commit e3b61f6203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1463,7 +1463,7 @@ class WC_Admin_Setup_Wizard {
$this->install_woocommerce_services();
}
$gateways = $this->get_wizard_in_cart_payment_gateways();
$gateways = array_merge( $this->get_wizard_in_cart_payment_gateways(), $this->get_wizard_manual_payment_gateways() );
foreach ( $gateways as $gateway_id => $gateway ) {
// If repo-slug is defined, download and install plugin from .org.