Make WordPress Core

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#14342 closed defect (bug) (fixed)

posts paging calculation inconsistent

Reported by: wpmuguru's profile wpmuguru Owned by:
Milestone: 3.0.1 Priority: normal
Severity: normal Version: 3.0
Component: Administration Keywords: has-patch
Focuses: Cc:


In wp-admin/edit.php, the default posts per page is 20. In wp-admin/includes/post.php the default is 15. With the defaults and no filters applied, the edit post screen shows 15 posts.

In my test install on the edit posts screen, I have 56 posts, 4 pages (of posts) & on the 4th page the paging area shows "61 - 56 of 56 posts".

The attached patch changes the 20 in wp-admin/edit.php to 15.

Attachments (1)

14342.diff (462 bytes) - added by wpmuguru 14 years ago.

Download all attachments as: .zip

Change History (5)

14 years ago

#1 @wpmuguru
14 years ago

  • Milestone changed from Awaiting Review to 3.0.1

Related: #14135. Patch on #14135 fixes this ticket as well.

#2 @ryan
14 years ago

The default for other pages as well as screen options is 20. Let's standardize on that.

#3 @ryan
14 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [15445]) Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1

#4 @ryan
14 years ago

(In [15446]) Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.0.1

Note: See TracTickets for help on using tickets.