[wp-trac] [WordPress Trac] #53668: Generated images for one file can be overwritten by another with the same name when mapping mime types for generated images

WordPress Trac noreply at wordpress.org
Thu Aug 12 15:45:48 UTC 2021


#53668: Generated images for one file can be overwritten by another with the same
name when mapping mime types for generated images
-------------------------------------------------+-------------------------
 Reporter:  ianmjones                            |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.8.1
Component:  Media                                |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing needs-unit-  |     Focuses:
  tests                                          |
-------------------------------------------------+-------------------------

Comment (by SergeyBiryukov):

 Looking at [attachment:"53668.diff"], just a quick note that one of the
 function names has a typo, should be `..._mime_type` instead of
 `...mine_type` in `wp_default_extension_for_mine_type()`.

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


More information about the wp-trac mailing list