When you turn on the plugin, all “Husky (woof)” filters stop working
-
When you turn on the plugin, all the “Husky (formerly known as WOOF) plugin” filters stop working (the regular version)
The “Woof-by-category” plugin always returns an empty array of filters.
I looked at the code. I have an assumption that the problem lies in the fact that I use the SLUG as a numeric value. When saving the filter settings, if the SLUG is a string, then everything is fine. If the SLUG is a number, then the settings array contains a sequence number instead of the true SLUG. In the process, “Woof-by-category” starts going through the parent categories to change the filter from “Husky” and compares my SLUG with an incomprehensible number, the history of which is a mystery to me.
I’m not good at PHP, but I’m willing to spend two more days to get to the truth.
- The topic ‘When you turn on the plugin, all “Husky (woof)” filters stop working’ is closed to new replies.