[wp-trac] [WordPress Trac] #50105: Remove infinite scrolling behavior from the Media grid
WordPress Trac
noreply at wordpress.org
Wed May 19 20:46:36 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):
If we use http headers, I believe we should follow the headers in the REST
API.
Example
{{{#!php
$response->header( 'X-WP-Total', (int) $total_posts );
$response->header( 'X-WP-TotalPages', (int) $max_pages );
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/50105#comment:90>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list