WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#14342 closed defect (bug) (fixed)

posts paging calculation inconsistent

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

Description

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 5 years ago.

Download all attachments as: .zip

Change History (5)

@wpmuguru5 years ago

comment:1 @wpmuguru5 years ago

  • Milestone changed from Awaiting Review to 3.0.1

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

comment:2 @ryan5 years ago

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

comment:3 @ryan5 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

comment:4 @ryan5 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.