[wp-trac] [WordPress Trac] #53827: Increase number of media items displayed when clicking button to "Load More"

WordPress Trac noreply at wordpress.org
Thu Aug 12 15:02:00 UTC 2021


#53827: Increase number of media items displayed when clicking button to "Load
More"
-------------------------+----------------------------
 Reporter:  antpb        |       Owner:  antpb
     Type:  enhancement  |      Status:  assigned
 Priority:  normal       |   Milestone:  5.8.1
Component:  Media        |     Version:  5.8
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |     Focuses:  accessibility
-------------------------+----------------------------
Changes (by hellofromTonya):

 * keywords:  has-patch needs-testing => has-patch


Comment:

 == Test Report

 === Env

 - WordPress: 5.8.0
 - Browser: Chrome 92.0.4515.131
 - OS: macOS Big Sur 11.5
 - Localhost: Local and `wp-env`
 - Theme: Twenty Twenty-One
 - Plugins: none
 - Scripts: none

 === Steps to Test

 - Add at least 80 items into the Media Library (okay to copy same items
 over and over again)
 - Refresh the Media Library page in the browser
 - Scroll down to the `Load more` button
 - Notice the `Showing 40 of xx media items` message
 - Apply [attachment:"53827.diff"] patch
 - Refresh the Media Library page in the browser
 - Scroll down to the `Load more` button
 - Notice the `Showing 80 of xx media items` message and the number of
 media items rendered is doubled

 === Test Results

 As shown in [attachment:"53827-diff-test.png"], the patch works as
 expected ✅

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


More information about the wp-trac mailing list