Customizer header image crop uses static URL when refreshing UI after crop.
|Reported by:||polevaultweb||Owned by:||wonderboymusic|
Once an image crop has been made for the Header image inside the Customizer, the new cropped attachment is created with the URL as the post content and this is passed back to the UI with JS, to update the header img.
However, if you reload the page the header images are retrieved using wp_get_attachment_url() which allows other plugins to filter on the URL.
The URL passed to the UI after crop should be created with the same function. Is there any need for the URL to also be stored in post_content for the attachment?
Change History (9)
- Owner set to wonderboymusic
- Resolution set to fixed
- Status changed from new to closed