Reset profiler when visiting old obw URL (https://github.com/woocommerce/woocommerce-admin/pull/4166)
This commit is contained in:
parent
65f7a0cf7d
commit
320712fb2c
|
@ -149,7 +149,7 @@ class Onboarding {
|
||||||
|
|
||||||
if ( 'wc-setup' === $current_page ) {
|
if ( 'wc-setup' === $current_page ) {
|
||||||
delete_transient( '_wc_activation_redirect' );
|
delete_transient( '_wc_activation_redirect' );
|
||||||
wp_safe_redirect( wc_admin_url() );
|
wp_safe_redirect( wc_admin_url( '&reset_profiler=1' ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue