Closed spacedmonkey closed 4 years ago
Looks good, I have one suggestion on the strpos check to ensure it works if the wp_image_file_matches_image_meta method is invoked somewhere without the protocol.
@ravichdev Can you explain this a little more. Not sure what you mean here? I don't check for the proto anywhere, just the domain.
Summary
Fix cropping in WordPress 5.5 - RC1. It was a simple as fixing the return value of the
wp_image_file_matches_image_meta
filter.Fixes #173
Checklist