[wp-trac] [WordPress Trac] #48784: Search box in Select / Upload image pop-up not working with cropped images

WordPress Trac noreply at wordpress.org
Mon Nov 25 14:03:58 UTC 2019


#48784: Search box in Select / Upload image pop-up not working with cropped images
--------------------------+------------------------------
 Reporter:  javierr       |       Owner:  (none)
     Type:  defect (bug)  |      Status:  closed
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.3
 Severity:  normal        |  Resolution:  invalid
 Keywords:                |     Focuses:
--------------------------+------------------------------
Changes (by kkarpieszuk):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Nice catch! I confirm the issue.

 Steps to replicate:
 - clean wordpres installation with default theme
 - login as admin
 - go to wp-admin > apperance > customize > site identity
 - click logo button
 - upload some image from disc and remember its name
 - choose option to add this image
 - you will see image cropping tool. crop the image
 What is working:
 - go to wp-admin > Media > Library
 - you will see there your uploaded image and cropped one with 'cropped' on
 the beginning of the name
 What is not working:
 - go again to wp-admin > apperance > customize > site identity
 - remove logo image and publish changes
 - click logo button to choose image
 - you wil not see cropped image in media overlay and search field will not
 find it (as presented on the screenshot from opening post)

 Additional observations:
 - both images are in wp_posts table, with same post type, parent and other
 fields not suggesting something is different between both images.
 - So something must be wrong with ajax request for the image. I will
 investigate with xdebug in a moment

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


More information about the wp-trac mailing list