Skip to content

Optimize wp_image_matches_ratio in get_crop#1046

Merged
aatanasov-cloudinary merged 1 commit intodevelopfrom
fix/get-crop-full
May 23, 2025
Merged

Optimize wp_image_matches_ratio in get_crop#1046
aatanasov-cloudinary merged 1 commit intodevelopfrom
fix/get-crop-full

Conversation

@aatanasov-cloudinary
Copy link
Collaborator

Fixes #941

Approach

  • Avoid warnings when with and height are missing (both main and full sizes).

QA notes

  • Insert an attachment without width or height
  • There shouldn't be errors.

@aatanasov-cloudinary aatanasov-cloudinary merged commit f44aa0f into develop May 23, 2025
4 checks passed
@aatanasov-cloudinary aatanasov-cloudinary deleted the fix/get-crop-full branch June 4, 2025 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants