Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50410, comment 4


Ignore:
Timestamp:
06/19/2020 01:57:22 PM (4 years ago)
Author:
afercia
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50410, comment 4

    initial v1  
    99Actually, the collection length is altered because in the example above there are 3 attachments that come from cropped images. This breaks the "per page" setting and makes any logic based on the attachment length / per_page (and maybe `hasMore()`) unreliable.
    1010
     11Note that after pressing "Load more" a few times and all available attachments are displayed, the counter text will display "Media items 81 of 84" thus breaking the count.