Merge pull request #13116 from akashsonic/patch-3
Added exit after wp_safe_redirect.
This commit is contained in:
commit
bf822a5889
|
@ -132,6 +132,7 @@ class WC_Install {
|
|||
if ( ! empty( $_GET['force_update_woocommerce'] ) ) {
|
||||
do_action( 'wp_wc_updater_cron' );
|
||||
wp_safe_redirect( admin_url( 'admin.php?page=wc-settings' ) );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue