Default posts per page to 20. Props wpmuguru. fixes #14342 for 3.0.1
git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@15446 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
192ea220d2
commit
9db3d394df
|
@ -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