[wp-meta] [Making WordPress.org] #4253: Plugins API `query_plugins` produces wrong number of results

Making WordPress.org noreply at wordpress.org
Sat Mar 9 14:02:29 UTC 2019


#4253: Plugins API `query_plugins` produces wrong number of results
------------------------+--------------------
 Reporter:  schlessera  |      Owner:  (none)
     Type:  defect      |     Status:  new
 Priority:  normal      |  Milestone:
Component:  API         |   Keywords:
------------------------+--------------------
 The `per_page` argument for the Plugins API `query_plugins` action seems
 to return the wrong number of results in some cases.

 So, if you limit the `per_page` to 20, you only get 19 items back event
 though that there are more than 20 results available.

 We are hitting this issue with the WP-CLI `plugin search` command, which
 shows the exact count of elements returned. See https://github.com/wp-cli
 /extension-command/issues/156 for the related issue.

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/4253>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list