Hi @docjojo,
yes, there is: https://github.com/vendidero/woocommerce-germanized/blob/master/includes/class-wc-gzd-install.php#L121
I can not reproduce the issue – maybe you can, if you install an OC?
If you have APCu, you could use my plugin and test?
Unfortunately I cannot test OP cache locally..
With OC enabled, this code
echo ‘TEST woocommerce_gzd<br>’;
echo ‘set_transient<br>’;
set_transient( ‘_wc_gzd_activation_redirect’, 1, 60 * 60 );
echo ‘get_transient:’.get_transient( ‘_wc_gzd_activation_redirect’).'<br>’;
echo ‘del_transient<br>’;
delete_transient( ‘_wc_gzd_activation_redirect’);
echo ‘get_transient:’.get_transient( ‘_wc_gzd_activation_redirect’).'<br>’;
var_dump(get_transient( ‘_wc_gzd_activation_redirect’));
returns correct:
TEST woocommerce_gzd
set_transient
get_transient:1
del_transient
get_transient:
bool(false)
If you can not test APCu maybe you could comment out the
delete_transient( ‘_wc_gzd_activation_redirect’);
and see if that leads to the behaviour.
So we would at least know where to look at.
Must be some other issue otherwise.
Looks good. How did you test that exactly? Within the admin_init hook? Should work with an exit; as a last statement too, I guess? If that works just fine with OP cache then this must be some kind of client server-side issue within the actual installation @skinperforator?
Just placed it somewhere in one of my plugins.
Doesn’t really matter, I think.
v2.0 is online with new OC.
Please deactivate before update, so that the new OC gets installed.