Making WordPress.org

Opened 5 weeks ago

Last modified 4 weeks ago

#7999 reopened defect (bug)

api.wordpress.org: not all plugins with a certain active install count appear

Reported by: yenedemet's profile yenedemet Owned by:
Milestone: Priority: normal
Component: API Keywords:
Cc:

Description

When querying api.wordpress.org with the query_plugins action using this link, it seems that not all plugins with a certain active install count appear in the results.

This occurs when accessing the last page of the results, which is obtained from the below “pages” variable:

https://i.postimg.cc/jdrmDcbs/Screenshot-2025-06-06-101351.png

With the per_page variable set to 10, the last plugin in the results has an active install count of 400:

https://i.postimg.cc/bv81bGvS/Screenshot-2025-06-06-101943.png

As a result, it looks like plugins with an active install count smaller than 400 don’t appear in the results.

What could cause the previously mentioned plugins to not appear in the results when querying api.wordpress.org using the query_plugins action?

Change History (3)

#1 @Otto42
5 weeks ago

  • Resolution set to invalid
  • Status changed from new to closed

The plugins are not ordered by active install count. They are not guaranteed to appear highest first.

#2 @yenedemet
5 weeks ago

By which field are the plugins ordered?

#3 @yenedemet
4 weeks ago

  • Resolution invalid deleted
  • Status changed from closed to reopened

In the below image, the results are filtered to show the plugins from the first page on api.wordpress.org. This shows that the results are sorted by the active install count in descending order:

https://i.postimg.cc/fWPLdqFF/Screenshot-2025-06-13-151438.png

Note: See TracTickets for help on using tickets.