[wp-trac] [WordPress Trac] #57488: The "Showing X of Y media items" area in Media Upload screen gives wrong information.

WordPress Trac noreply at wordpress.org
Wed Jan 18 05:24:38 UTC 2023


#57488: The "Showing X of Y media items" area in Media Upload screen gives wrong
information.
--------------------------+-----------------------------------------
 Reporter:  shamayel007   |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  6.1.1
 Severity:  normal        |   Keywords:  needs-patch has-screenshots
  Focuses:  ui            |
--------------------------+-----------------------------------------
 I followed the following steps and got this error:

 1) Freshly created a new WordPress site.

 [[Image(https://i.paste.pics/L1SUI.png)]]

 2) Created a new page and opened it in the block editor

 [[Image(https://i.paste.pics/L1SW2.png)]]

 3) Added a new gallery block

 [[Image(https://i.paste.pics/L1SY2.png)]]

 4) Clicked "Media Library"

 [[Image(https://i.paste.pics/L1SYB.png)]]

 5) Uploaded new images

 [[Image(https://i.paste.pics/L1SYG.png)]]

 6) Uploaded 20 images, but the counter showed, "Showing 20 of 19 media
 items"

 [[Image(https://i.paste.pics/L1SYQ.png)]]

 It showed the correct number when I closed it and opened it back up. I
 know it's a minor issue but thought about informing the experts.

 Here are my setup details:
 i) OS: Ubuntu 20.04.5 LTS
 ii) Using Local by Flywheel
 iii) Web server: Nginx
 iv) PHP Version: 8.1.9
 v) MySQL: 8.0.16
 vi) WordPress: 6.1.1
 vii) Browser: Opera

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


More information about the wp-trac mailing list