Skip to content

Remove constant from the deprecated.php in optimization-detective plugin #1920

Open
@hbhalodia

Description

@hbhalodia

Bug Description

Part of - #1859 and in PR - #1865, We have removed the use of the constants from the file, instead we have added those constant in a class.

For backward compatibility, we have kept those constant in deprecated.php file, since these constants are being used in Image Priortizer plugin as well.

The constants are OD_REST_API_NAMESPACE and OD_URL_METRICS_ROUTE, in newer versions after 2 or 3 releases, (see #1943 (comment)) we need to update the plugin to use the class constants instead of deprecated once and remove it from the file. See

We need to pick this once the PR - #1865 is merged and Optimization detective plugin is released with Image Priortizer as well.

Steps to reproduce

  • None

Screenshots

  • None

Cc: @westonruter @felixarntz

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    • Status

      Not Started/Backlog 📆

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions