#46345 closed defect (bug) (invalid)
Pagination in WP Admin for posts is not working
Reported by: | stevem9999 | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 5.1 |
Component: | General | Keywords: | |
Focuses: | administration | Cc: |
Description
I have over 100 posts and the post list page in WP admin shows 20 at a time. However, when I click to go to the next page, it repeats some of the same posts on the second page. If I click next page again, it repeats them again. If I page all the way to the end, some posts are never seen. The only way I can find them is by searching.
As background, I started this site (not live yet) on 5.0 and had the issue. I upgraded to 5.1 and still see the issue.
Change History (6)
#2
in reply to:
↑ 1
@
6 years ago
Replying to mukesh27:
Hi @stevem9999, Welcome to WordPres Trac! Thanks for the report.
Does the issue still happen with all plugins disabled and a default theme (Twenty Nineteen) activated?
i can't replicate above issue in fresh install WordPress 5.1
Hello - The only plugins I have enabled are Akismet Anti-Spam and Hello Dolly. My theme is "Bootstrap News".
I'm not sure if this would cause it, but I'm building this as a new site by converting data from an old site. In doing so, I created over 100 posts with the same publish date/time, using wp_insert_post from a php script. I just thought I'd let you know.
#3
@
6 years ago
I tried it with the Twenty Nineteen theme. Also, I realize the 2 plugins I have are not activated. The issue still exists with this default.
#4
@
6 years ago
- Keywords close added
@stevem9999 I am unable to reproduce this issue with WordPress 5.0 or 5.1.
When you click to the next page, is that reflected in the pagination navigation (shows 2 of x pages, for example)?
My hunch is that your PHP script, so I am marking as a candidate for closing. When creating posts, your script may be creating posts with the same title (you stated it creates them with the same publish dates/times), and they actually are paginating correctly but don't appear to be changing.
Can you confirm that the post IDs change when you navigate through the pages of posts?
Hi @stevem9999, Welcome to WordPres Trac! Thanks for the report.
Does the issue still happen with all plugins disabled and a default theme (Twenty Nineteen) activated?
i can't replicate above issue in fresh install WordPress 5.1