[wp-trac] [WordPress Trac] #33319: Customizer header image crop uses static URL when refreshing UI after crop.

WordPress Trac noreply at wordpress.org
Sun Aug 9 19:45:51 UTC 2015


#33319: Customizer header image crop uses static URL when refreshing UI after crop.
--------------------------+-----------------------------
 Reporter:  polevaultweb  |      Owner:
     Type:  enhancement   |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  3.9
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33319>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list