[wp-trac] [WordPress Trac] #52637: Loading issue with "popular plugin" tab - twice the same page.
WordPress Trac
noreply at wordpress.org
Wed Jul 16 07:15:26 UTC 2025
#52637: Loading issue with "popular plugin" tab - twice the same page.
--------------------------+---------------------------------
Reporter: NekoJonez | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Plugins | Version: 5.6.2
Severity: minor | Resolution:
Keywords: | Focuses: ui, administration
--------------------------+---------------------------------
Comment (by hbhalodia):
Hi @NekoJonez @SergeyBiryukov,
Upon further investigation, it appears that the issue lies with the
Plugins API itself, as it is returning the same results across specific
pages.
For example, when directly calling this URL in the browser:
http://api.wordpress.org/plugins/info/1.2/?action=query_plugins&request[page]=1535&request[per_page]=36&request[locale]=en_US&request[browse]=popular&request[wp_version]=6.8
the requested page is `1535`, but the API response is:
{{{
{
"info": {
"page": 999,
"pages": 1540,
"results": 55414
},
"plugins": [
{...}
]
}
}}}
Here, the API returns `info->page` as `999` instead of `1535`. This
suggests that the API's handling of requests for popular plugins may not
be functioning as intended.
Additionally, the results remain the same for pages from `999` up to
around `1530`, which should not be the case if pagination were working
correctly.
To resolve this issue, we will need to address the API's output to ensure
it returns accurate pagination details and results.
Thank you.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52637#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list