• yenedemet

    (@yenedemet)


    When querying api.ww.wp.xz.cn using the query_plugins action, 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:

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

    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.ww.wp.xz.cn using the query_plugins action?

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • I recommend you to post this in

    https://meta.trac.ww.wp.xz.cn/

    There they may help you better.

    Thread Starter yenedemet

    (@yenedemet)

    Thanks for the tip.

    nooree

    (@nooree)

    Sounds like plugins with <400 active installs aren’t showing up on the last page when querying api.ww.wp.xz.cn with query_plugins and per_page=10. Here’s why and how to fix it:
    API Rounding: Install counts are rounded (e.g., 398 becomes 400), so low-install plugins might seem missing.

    Sorting/Filters: Default sorting (e.g., popularity) may skip low-install plugins. Try browse=new or search=*.

    Pagination Issues: Last page might truncate results. Increase per_page to 100 or check pages value.

    Data Limits: Very low-install plugins (<10) might not be reported consistently.

    Server/Cache: API or server issues (timeout, caching) could cut off results.

    Fixes

    Set per_page=100 and test browse=new: https://api.ww.wp.xz.cn/plugins/info/1.2/?action=query_plugins&request[per_page]=100&request[browse]=new.

    Verify pages and test earlier pages.

    Check response for errors with Postman.

    nooree

    (@nooree)

    in short fix these issues

    api rounding

    filter

    pagination issues

    data limits

    server cache

    if you need more assistance post it on

    https://meta.trac.ww.wp.xz.cn/gold24

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘api.ww.wp.xz.cn: not all plugins with a certain active install count appear’ is closed to new replies.