Media library fails to load if the site has a small media #14516
Labels
feature: product details
Related to adding or editing products, including Product Settings.
priority: medium
Planned tasks usually belonging to ongoing projects
type: bug
A confirmed bug.
WordPress by default generates smaller alternative versions of uploaded media, when the uploaded media is already small, it doesn't, and this leads to an error: The property
media_details.sizes
will be empty, and instead of being returned as an empty object, it's returned as an array: https://a8c.sentry.io/issues/3946742926This issue happens only when using Jetpack CP
The issue was identified here #14444 (comment)
The text was updated successfully, but these errors were encountered: