WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#14977 closed defect (bug) (worksforme)

Post editor pagination count is incorrect.

Reported by: peterchester Owned by:
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords: reporter-feedback
Focuses: Cc:

Description

  • I have 16 posts.
  • I look at the posts in the post list [site]/wp-admin/edit.php
  • The pagination reads "Displaying 1–16 of 16"
  • But it's only actually displaying 1-15. And display's post 16 on the next page.

The weird thing is this... I clicked screen options and it said 20 posts. I clicked save screen options and there was no more pagination for my 16 posts. I then set it to 15. It then correctly read Displaying 1 - 15 of 16 posts.

Looking at the code, I don't see how this is possible. For it to say displaying 1 - 16 of 16, $per_page had to be 16 and $count_posts had to be 16. But it appeared, in a way, that $per_page was simply not be set.

Change History (2)

#1 @scribu
10 years ago

  • Keywords reporter-feedback added; post list display count pagination removed
  • Version 3.1 deleted

There is no more Displaying 1-16 of 16 text anymore in WP 3.1-alpha.

Please clarify.

#2 @nacin
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.