Description
Since WP 5.1 (released in 2019), filter http_headers_useragent expects a second argument: $url.
Feedzy still needs to add this argument.
Any plugin that uses this filter expecting the second argument to be present will crash because of this.
This filter is replicated 2 times in Feedzy.
I recommend removing this filter copy and setting a custom one in flight.
Step-by-step reproduction instructions
- Install Feedzy.
- Install any other plugin that relies on http_headers_useragent, expecting 2 arguments on WP 5.1+.
- "Fatal error: Uncaught ArgumentCountError: Too few arguments to function [...]"
Screenshots, screen recording, code snippet or Help Scout ticket
No response
Environment info
No response
Is the issue you are reporting a regression
Yes, this is a regression.