[wp-trac] [WordPress Trac] #48026: Always show selected image even if it doesn't match search string

WordPress Trac noreply at wordpress.org
Thu Sep 12 06:35:44 UTC 2019


#48026: Always show selected image even if it doesn't match search string
--------------------------+-----------------------------
 Reporter:  galbaras      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 When embedding an image in a post, if there is a pattern in the search box
 and an image is uploaded that doesn't match it, the new image details are
 not shown until the search pattern is cleared.

 Steps:

 1. Click "Add Media"

 2. Enter search pattern, e.g. "abc"

 3. Switch to "Upload Files" tab and upload a file, e.g. "xyz"

 4. Once the file is uploaded, you see the "Media Library" tab again, but
 no details are showing in the "Attachment Details" area, although the
 newly-uploaded file is selected

 5. Clear the search pattern

 6. Selected image details appear

 The correct behavior is to always show the details of the selected file,
 even if it doesn't match the search pattern, at least immediately after
 it's been uploaded.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48026>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list