[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid

WordPress Trac noreply at wordpress.org
Mon May 17 14:09:59 UTC 2021


#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  5.8
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch has-           |     Focuses:  ui, accessibility,
  screenshots needs-testing early    |  javascript
-------------------------------------+-------------------------------------
Changes (by johnbillion):

 * keywords:  has-patch has-screenshots needs-testing early commit => has-
     patch has-screenshots needs-testing early


Comment:

 Good spot. However, switching to the REST API for these views will also
 break plugins that override this output, for example
 [https://github.com/humanmade/asset-manager-framework Asset Manager
 Framework].

 How about adding the `totalAttachments` data as an HTTP header and leaving
 the body response unchanged?

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


More information about the wp-trac mailing list