Describe the bug
Seeing the following deprecated notices in the console while testing the new Imagify version 2.2.6.
Deprecation notice related to this happens in Imagify settings page:
https://imagizer.imageshack.com/a/img924/3933/KnMXAx.png
Deprecation notice related to this happens when adding a new API key in Imagify settings page:
https://imagizer.imageshack.com/a/img924/7051/IdmTQ6.png
During Bulk Optimization, we see the following console deprecation notice:
https://imagizer.imageshack.com/a/img922/3577/azkUDN.png
While optimizing a single image in the Media Library, we see the following console deprecation notice:
https://imagizer.imageshack.com/a/img924/1680/Vcvm3E.png
To Reproduce
Steps to reproduce the behavior:
- Imagify version 2.2.6
- Enable
script_debug in wp-config.php
- WordPress version 6.8.1
- Take the actions mentioned above and see the notices in the console
Expected behavior
The console notices should not happen.