-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CORS not working since 1.0.3 #20
Comments
If you changed I suspect it's a load issue and didn't consider it when releasing. The main CoCart plugin name has changed in v4 so WordPress is loading the plugin before hand. |
@seb86 I will try your suggestion and report back 👍 |
@seb86 I can confirm that if I change this line https://github.com/co-cart/cocart-cors/blob/fa5cfcb/cocart-cors.php#L41 to use |
@seb86 I don't understand this issue enough to know but would it help if I made a PR to do this? Or are there wider implications? Or you have another plan? |
Sorry for the delay. Life stuff happened. Will have this issue resolved this week. |
Released |
I noticed the CoCart CORS plugin isn't working since 1.0.3.
The CORS headers are no longer present it's as if this extension isn't installed.
The behavior I observe is that the CORS extension isn't activated - the
cocart_init
action doesn't call\CoCart\Cors\Plugin::init();
.CoCart version 3.9.0
PHP 8.1
The text was updated successfully, but these errors were encountered: