Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Smart Media for WP 6.0+ compatiblity #331

Merged
merged 1 commit into from
Apr 2, 2024
Merged

Conversation

roborourke
Copy link
Contributor

@roborourke roborourke commented Apr 2, 2024

The smart media image editing UI and functionality has been broken since WP 6.0 / Altis v13.

This update restores that functionality and also fixes an incompatilbity with WP 6.4 whereby cropped image sizes were not present on the frontend srcset, also the width and height attributes were derived incorrectly.

The backport is safe as a patch release here even though it's bumping the minor version because the updates are all backwards compatible with WP 6.0+/Altis v13.

See humanmade/smart-media#219

The smart media image editing UI and functionality has been broken since WP 6.0 / Altis v13.

This update restores that functionality and also fixes an incompatilbity with WP 6.4 whereby cropped image sizes were not present on the frontend srcset, also the width and height attributes were derived incorrectly.

See humanmade/smart-media#219
Copy link
Contributor

@mikelittle mikelittle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks, Rob.

@roborourke
Copy link
Contributor Author

@mikelittle thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants