[wp-trac] [WordPress Trac] #42671: REST - getting all taxonomy terms with one GET request causes division by zero warning.

WordPress Trac noreply at wordpress.org
Thu Jun 13 04:05:28 UTC 2019


#42671: REST - getting all taxonomy terms with one GET request causes division by
zero warning.
-------------------------+----------------------
 Reporter:  tmuikku      |       Owner:  (none)
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  REST API     |     Version:  4.7
 Severity:  normal       |  Resolution:  invalid
 Keywords:               |     Focuses:
-------------------------+----------------------
Changes (by TimothyBlynJacobs):

 * status:  new => closed
 * version:  4.9 => 4.7
 * resolution:   => invalid
 * milestone:  Awaiting Review =>


Comment:

 Hi @tmuikku,

 Apologies for the delay in providing a response.

 The REST API does not support unbounded pagination. Instead, it is
 recommended to query through subsequent pages or increasing the maximum to
 a value that works for your website.

 This was discussed at length during the Gutenberg project. I think this PR
 is a good jumping off place to read more about the discussion:
 https://github.com/WordPress/gutenberg/pull/10762

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


More information about the wp-trac mailing list