Post editor pagination count is incorrect.
|Reported by:||peterchester||Owned by:|
- 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.