Skip to content

Deprecated notices while script_debug set to true #988

@joejoe04

Description

@joejoe04

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:

  1. Imagify version 2.2.6
  2. Enable script_debug in wp-config.php
  3. WordPress version 6.8.1
  4. Take the actions mentioned above and see the notices in the console

Expected behavior
The console notices should not happen.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions