[wp-trac] [WordPress Trac] #34423: Wrong image shown after editing the image file

WordPress Trac noreply at wordpress.org
Sat Oct 24 02:54:48 UTC 2015


#34423: Wrong image shown after editing the image file
--------------------------+--------------------
 Reporter:  azaozz        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  4.4
Component:  Media         |     Version:  trunk
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+--------------------

Comment (by azaozz):

 To fix: need to move the is_edited check to
 `wp_img_add_srcset_and_sizes()` and bail early. We don't have attachment
 meta for the old, non-edited image and cannot generate `srcset` for it.

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


More information about the wp-trac mailing list