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

WordPress Trac noreply at wordpress.org
Mon Jun 7 11:11:17 UTC 2021


#50105: Remove infinite scrolling behavior from the Media grid
-------------------------------------+-------------------------------------
 Reporter:  afercia                  |       Owner:  joedolson
     Type:  defect (bug)             |      Status:  reopened
 Priority:  normal                   |   Milestone:  5.8
Component:  Media                    |     Version:
 Severity:  normal                   |  Resolution:
 Keywords:  has-screenshots needs-   |     Focuses:  ui, accessibility,
  dev-note 2nd-opinion               |  javascript
-------------------------------------+-------------------------------------

Comment (by spacedmonkey):

 I wondered not getting the xhr object back was related to the jQuery
 update and something changing under the hood there but that doesn't seem
 to be the case.

 Once we get headers, I still recommend using the same headers as the REST
 API .

 X-WP-Total
 X-WP-TotalPages

 Not adding new response headers, will help compatibility with those using
 firewalls and reserve proxies. New headers have to added to allowed lists
 in these cases. Reusing an existing header, avoids this.

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


More information about the wp-trac mailing list