Codeinwp / optimole-wp

31 stars 8 forks source link

Redirect Issue After Offloading/Rollback of Images from Media Library #834

Open kushh23 opened 2 months ago

kushh23 commented 2 months ago

Description

When offloading or rolling back images by selecting them from the media library, a notice appears in the dashboard confirming that the operation was successful. The message includes a URL meant to direct users to view the images. However, the link currently redirects to /wp-admin/admin.php, which results in a blank page. Ideally, the URL should redirect to /wp-admin/upload.php to provide users with the correct view of the media library.

Step-by-step reproduction instructions

  1. Go to the WordPress dashboard and navigate to the media library.
  2. Select one or more images to offload or roll back; see the screenshot below.
  3. Wait for the offload or rollback operation.
  4. Observe the success notice that appears in the dashboard; see the screenshot below.
  5. Click on the URL provided in the notice.

Screenshots, screen recording, code snippet or Help Scout ticket

image image image

Environment info

No response

Is the issue you are reporting a regression

No