[wp-trac] [WordPress Trac] #37311: Site icon thumbnails are lost if wp_generate_attachment_metadata called again later

WordPress Trac noreply at wordpress.org
Thu Jul 7 22:36:49 UTC 2016


#37311: Site icon thumbnails are lost if wp_generate_attachment_metadata called
again later
--------------------------+-----------------------------
 Reporter:  smerriman     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Customize     |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 If image sizes are regenerated with the Regenerate Thumbnails plugin, the
 custom Site Icon sizes (and possibly other images in the customiser?) are
 lost.

 The question is whether this is something that needs changing in the
 plugin, or whether the logic for how these sizes work should change in
 core. (Virtually all core documentation tells people to use this plugin
 when changing image sizes, so it should be fixed in one of the other).

 I'm of the opinion it should be changed in core, where custom sizes like
 the ones created by Site Icons should be somehow marked as special sizes,
 with wp_generate_attachment_metadata checking for any existing custom
 sizes and including them in the output.

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


More information about the wp-trac mailing list