Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.1

git-svn-id: http://svn.automattic.com/wordpress/trunk@15445 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2010-07-19 16:28:26 +00:00
parent 614d734492
commit 2160674a67

View File

@ -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 );