Closed spacedmonkey closed 4 years ago
@spacedmonkey This works well for the Media selectors and the Media Library, but doesn't show the correct Original URL and Unsplash
name in the singe attachment edit page (accessed in Media Library list mode). We can add the filters conditionally only for this page when the post_type is attachment
and it wouldn't impact the cropping feature in the single attachment edit.
I will approve once e2e tests pass.
Summary
A hotfix for WordPress 5.5-beta1.
Avoid filtering
wp_get_original_image_url
andwp_get_original_image_path
by adding new fields.Fixes #173
Checklist