Skip to content

Optimisation status sidebar shows active even when account is disabled #943

@kushh23

Description

@kushh23

Description

The Optimization Status sidebar in the Optimole plugin displays inaccurate results when the account is suspended. It shows that image optimization is enabled based solely on plugin settings, ignoring the fact that the optimization service is actually inactive due to suspension.

We should update the status display logic and add a account active check too.

Step-by-step reproduction instructions

  1. Check the status of your suspended account in your site.
  2. The sidebar will show the active status as it is controlled by the plugin options.

Screenshots, screen recording, code snippet or Help Scout ticket

Image

Environment info

No response

Is the issue you are reporting a regression

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis label could be used to identify issues that are caused by a defect in the product.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions