[wp-trac] [WordPress Trac] #58137: WP creates unnecessary "cropped-"[filename] icon file

WordPress Trac noreply at wordpress.org
Thu Jun 8 13:09:50 UTC 2023


#58137: WP creates unnecessary "cropped-"[filename] icon file
--------------------------+---------------------
 Reporter:  thomask       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  6.3
Component:  Media         |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:
--------------------------+---------------------

Comment (by tb1909):

 == Test Report
 This report validates that the indicated patch addresses the issue.

 Patch tested: https://github.com/WordPress/wordpress-
 develop/pull/4557/commits/e7d678d84b7969840cb220c8bc3d043d444691fe

 === Environment
 * OS: macOS 13.4
 * Web Server: Nginx
 * PHP: 8.1.13
 * WordPress: 6.3-alpha-55505-src
 * Browser: Google Chrome 114.0.5735.106
 * Theme: Twenty Twenty-Three
 * Plugins: none

 === Actual Results

 - Both issues still exist

 === Additional Notes
 - After uploading an favicon with dimensions 512x512px the favicon still
 gets a cropped version (favicon attached).
 - The favicon also gets cropped again if it is manually removed by the
 user and the other image is set as the favicon

 Steps to reproduce:
 - Upload the attached favicon and press select
 - Open the image select again to see the cropped favicon show up
 - Delete the cropped favicon and select the previously uploaded favicon
 again
 - See the cropped favicon appear again

 === Supplemental Artifacts
 Favicon which is still being cropped
 - [[Image(https://core.trac.wordpress.org/raw-
 attachment/ticket/58137/favicon.jpg)]]

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


More information about the wp-trac mailing list