wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
69 stars 24 forks source link

Fixes #803 Fix identifier for generate next-gen versions URL #804

Closed Tabrisrp closed 3 months ago

Tabrisrp commented 4 months ago

Description

Fix the identifier for generate next-gen versions URL, on edit image page and on images list.

This also fixes the link for deleting next-gen versions for images which are "already optimized".

Fixes #803

Type of change

Checklists

Feature validation

Code style

Mai-Saad commented 3 months ago

Currently, the link is never displayed following the steps on main ticket. will block it till we fix when link is displayed.https://github.com/wp-media/imagify-plugin/issues/792

Note: The link is displayed on this commit 5d431cf41d9379eaae4d0850924ea85a217aa221 with the following steps 1- on trunk, webP off 2- upload image 3- enable webp 4- check media library => generate webP is there 5- switch to commit above + dumpautoload 6- check media library => generate next-gen is there 7- switch to PR + dumpautoload => no generate link @Tabrisrp can you please check?

Tabrisrp commented 3 months ago

Closing in favor of #807 which contains the same changes