Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1
git-svn-id: https://develop.svn.wordpress.org/trunk@15445 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
8915af45b3
commit
0e8e96649b
@ -894,7 +894,7 @@ function wp_edit_posts_query( $q = false ) {
|
||||
$per_page = 'edit_' . $post_type . '_per_page';
|
||||
$posts_per_page = (int) get_user_option( $per_page );
|
||||
if ( empty( $posts_per_page ) || $posts_per_page < 1 )
|
||||
$posts_per_page = 15;
|
||||
$posts_per_page = 20;
|
||||
$posts_per_page = apply_filters( $per_page, $posts_per_page );
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user