Optimize missing thumbnail sometimes isnot working for custom size #894
Labels
priority: medium
Issues which are important, but no one will go out of business.
severity: moderate
type: bug
Before submitting an issue please check that you’ve completed the following steps:
Describe the bug
When a custom thumbnail is set using the following filter in the active theme, when clicking optimize 1 missing thumbnail is not working with some images
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The link 'optimize 1 missing thumbnail' gets hidden and optimize the needed thumbnail or show notice if something is wrong (please refer to @wp-media/product to confirm the expected)
Screenshots
![Screenshot from 2024-08-14 17-01-26](https://private-user-images.githubusercontent.com/76941962/357849142-2823321c-a0eb-407b-8e2b-bcaf5d83f9dd.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTM1MTAsIm5iZiI6MTczOTY1MzIxMCwicGF0aCI6Ii83Njk0MTk2Mi8zNTc4NDkxNDItMjgyMzMyMWMtYTBlYi00MDdiLThlMmItYmNhZjVkODNmOWRkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE1VDIxMDAxMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc1Njc4NTBlZjk1ODlkNDkwOWNhMGQ1M2YyN2IzOTRhNDBjZTQ2NmRjY2EyZjliMzhhZmI3MDJjZDZmZjU5NjcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.vP0-p102Qcd42j3GRdIWLGV5Hcz3pNTgIpmHMnVRgas)
Additional context
Acceptance Criteria (for WP Media team use only)
Clear instructions for developers, to be added before the grooming
The text was updated successfully, but these errors were encountered: