WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#9307 closed enhancement (fixed)

Add filter for posts_per_page to wp_edit_posts_query

Reported by: aaroncampbell Owned by:
Milestone: 2.8 Priority: normal
Severity: normal Version: 2.7.1
Component: Administration Keywords: has-patch needs-testing
Focuses: Cc:

Description

It would be really nice to be able to control the number of posts displayed per page in the admin section to be controlled by a plugin. I'm attaching a patch. I made the filter 'edit_posts_per_page' but maybe 'admin_posts_per_page' would be better?

Attachments (1)

9307.001.diff (605 bytes) - added by aaroncampbell 5 years ago.

Download all attachments as: .zip

Change History (2)

aaroncampbell5 years ago

comment:1 westi5 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.