[wp-meta] [Making WordPress.org] #1509: The Themes API returns only one result and ignores params

Making WordPress.org noreply at wordpress.org
Fri Jan 8 15:48:30 UTC 2016


#1509: The Themes API returns only one result and ignores params
-------------------------+-------------------------------
  Reporter:  lordspace   |      Owner:
      Type:  defect      |     Status:  closed
  Priority:  normal      |  Component:  api.wordpress.org
Resolution:  worksforme  |   Keywords:
-------------------------+-------------------------------
Changes (by ocean90):

 * status:  new => closed
 * resolution:   => worksforme


Comment:

 You have to use the `$request` parameter:
 https://api.wordpress.org/themes/info/1.1/?action=query_themes&request[per_page]=100&request[page]=2

 See also https://developer.wordpress.org/reference/functions/themes_api/
 and https://developer.wordpress.org/reference/functions/plugins_api/.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/1509#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list