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

WordPress Trac noreply at wordpress.org
Sun Jun 6 15:57:50 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 joedolson):

 There's a lot of overriding happening in `\wp\api.js`; that's where the X
 -WP-Nonce header is set and fetched.

 It's interesting that the XHR object documented there is not, in fact, an
 XHR object, and I can't see anything that's overriding fetch on the model.
 Sync is being extended, but that shouldn't be changing anything about the
 fetch.

 Might be able to follow the path used for adding nonces to get this
 header. I'm currently looking at that.

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


More information about the wp-trac mailing list