[wp-trac] [WordPress Trac] #43998: REST API: Permit unbounded per_page=-1 requests for authorized users

WordPress Trac noreply at wordpress.org
Mon Oct 15 14:41:31 UTC 2018


#43998: REST API: Permit unbounded per_page=-1 requests for authorized users
-----------------------------+-----------------------
 Reporter:  danielbachhuber  |       Owner:  (none)
     Type:  enhancement      |      Status:  closed
 Priority:  normal           |   Milestone:
Component:  REST API         |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:                   |     Focuses:  rest-api
-----------------------------+-----------------------
Changes (by danielbachhuber):

 * keywords:  needs-patch needs-unit-tests =>
 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  5.0 =>


Comment:

 [https://wordpress.slack.com/archives/C02QB2JS7/p1539609185000100 As of
 this morning], I think we have an alternative path forward:

 1. Keep the existing UI for Categories, Tags, Post Parent, Authors, and
 Shared Blocks.
 2. Load data into Gutenberg with `?per_page=100&page=1`,
 `?per_page=100&page=2`.
 3. Use https://github.com/WordPress/gutenberg/issues/6723 to avoid UI
 inconsistency while the data is loading.

 We can use https://github.com/WordPress/gutenberg/issues/6694 to track the
 aforementioned steps through to completion.

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


More information about the wp-trac mailing list