Merge pull request #32427 from leskam/patch-2

correct form redirect after save account details
This commit is contained in:
Néstor Soriano 2022-04-11 10:26:36 +02:00 committed by GitHub
commit d56c79605c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -347,7 +347,7 @@ class WC_Form_Handler {
do_action( 'woocommerce_save_account_details', $user->ID );
wp_safe_redirect( wc_get_page_permalink( 'myaccount' ) );
wp_safe_redirect( wc_get_endpoint_url( 'edit-account', '', wc_get_page_permalink( 'myaccount' ) ) );
exit;
}
}