parhaggstrom
Forum Replies Created
-
Forum: Plugins
In reply to: [Google for WooCommerce] Load order gets messed up and ignoring functions.phpTo further explain the problem. Normally a WP load will go over everything and queue up actions and filters to be fired at the correct time then initiate them in the correct order.
Somehow your plugin breaks the initial enqueue run and only runs the functions.php on the last initiate run, meaning all the early hooks wont get queued up correctly.
It also means that even if I stated that it “works” if the filter fires every time the function gets called. It will still return different results every time and the modifications added by the functions.php will only show up at the very last calls to the function crippling the entire filter and action system in WP
This is a major issue and should be considered a a high priority since it creates problems and issues in all other parts of WP resulting in other plugin and theme developers probably getting error reports because of your plugin breaking theirsForum: Plugins
In reply to: [WP REST Cache] A way to filter/remove predefined headers on cached responsesThanks. Yes I wanted to send Access-Control-Allow-Origin header but it added both mine and your default one resulting in sending duplicates.
Somehow I later got it working on my live env with your function activated but could’nt get it to work on my local env without commenting it out. So I now believe it to be something with my setup even if beeing able to modify them would be great.
I dont know if the WP Core function does have a filter. But if you are gonna drop your function then I see no need for this filter anymore. I will look into the core function
Thanks again