[wp-trac] [WordPress Trac] #36096: Custom Logo: Use of custom image size requires unexpected filtering of image_size_names_choose

WordPress Trac noreply at wordpress.org
Fri Mar 4 23:50:23 UTC 2016


#36096: Custom Logo: Use of custom image size requires unexpected filtering of
image_size_names_choose
--------------------------+--------------------
 Reporter:  westonruter   |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.5
Component:  Customize     |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by westonruter):

 @karmatosed @obenland The reason why the bug wasn't visible was because
 there was a typo in the `attachment-data` message name being received from
 the pane, resulting in the JS-applied instant preview not working. See
 https://core.trac.wordpress.org/changeset/36851/trunk/src/wp-includes/js
 /customize-preview.js

 Yeah, so you're saying that the filter should only be added if
 `DOING_AJAX`? That would work. Actually, how about adding the filter
 inside of `wp_ajax_get_attachment()` to make the connection explicit?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/36096#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list