[wp-trac] [WordPress Trac] #53765: Media Library shows only the selected image

WordPress Trac noreply at wordpress.org
Fri Nov 26 14:54:41 UTC 2021


#53765: Media Library shows only the selected image
-------------------------------------------------+-------------------------
 Reporter:  benitolopez                          |       Owner:  joedolson
     Type:  defect (bug)                         |      Status:  reopened
 Priority:  normal                               |   Milestone:  5.9
Component:  Media                                |     Version:  5.8
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch reporter-feedback needs-   |     Focuses:  javascript
  testing                                        |
-------------------------------------------------+-------------------------

Comment (by dariak):

 == Test Report
 === Env
         •       MacOS Big Sur
         •       Chrome  96.0.4664.55
         •       Localhost: Local
         •       WordPress: 5.8.2 and 5.9-alpha-52250
         •       Activated plugins: Classic Editor plugin and WordPress
 Beta Tester
         •       Theme: Twenty Twenty One

 === Steps to test
         1.      Use WordPress 5.8.2: add multiple images to the Media
 Library (128 in my case)
         2.      Create a new post using Classic editor.
         3.      Set the Featured Image.
         4.      Save the post.
         5.      Click on the image in the Featured image field to reopen
 the modal -> only selected image is shown.
         6.      Upgrade to WordPress 5.9-alpha-52250.
         7.      Re-open the same post from the step 2 in Classic editor.
         8.      Click on the image in the Featured image field to reopen
 the modal -> first 80 items in the media library including the selected
 one are displayed.
         9.      Create one more post using Classic editor.
         10.     Set the Featured Image.
         11.     Save the post.
         12.     Click on the image in the Featured image field to reopen
 the modal -> first 80 items in the media library including the selected
 one are displayed.

 So initial issue is fixed.

 The "Load more" case currently works as follows:
         1.      Create a new post using Classic editor.
         2.      Add image to a post from Media Library (the Media Library
 has 128 images).
         3.      Edit image.
         4.      Click Replace -> first 80 images are shown, scroll down ->
 Load more button is shown.
         5.      Click Back.
         6.      Click Replace.
 Indeed all images are shown without Load more button.

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


More information about the wp-trac mailing list