[wp-trac] [WordPress Trac] #55819: Original image name, when too long breaks the attachment edit screen

WordPress Trac noreply at wordpress.org
Wed May 25 13:49:04 UTC 2022


#55819: Original image name, when too long breaks the attachment edit screen
----------------------------------------------+---------------------
 Reporter:  anantajitjg                       |       Owner:  (none)
     Type:  defect (bug)                      |      Status:  new
 Priority:  normal                            |   Milestone:  6.0.1
Component:  Media                             |     Version:
 Severity:  minor                             |  Resolution:
 Keywords:  has-screenshots has-patch commit  |     Focuses:
----------------------------------------------+---------------------
Changes (by afercia):

 * keywords:  has-screenshots has-patch => has-screenshots has-patch commit
 * version:  trunk =>
 * milestone:  Awaiting Review => 6.0.1


Comment:

 To clarify a bit: the 'Original image' section appears only when the
 uploaded image width or height exceed the `2560` pixels threshold used in
 `wp_create_image_subsizes()`.

 When this happens, the image is automatically resized and its file name
 gets a `_scaled` suffix, while the original file name is shown below in
 the 'Original image' section.

 The patch looks good to me. Moving to next minor release consideration, as
 it's a simple and self-contained improvement.

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


More information about the wp-trac mailing list