mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 17:18:32 +01:00
Align default items shown in edit.php. props ocean90, fixes #13312.
git-svn-id: http://svn.automattic.com/wordpress/trunk@14627 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
85655c586f
commit
5478a0a538
@ -46,7 +46,7 @@ if ( empty($pagenum) )
|
||||
$per_page = 'edit_' . $post_type . '_per_page';
|
||||
$per_page = (int) get_user_option( $per_page );
|
||||
if ( empty( $per_page ) || $per_page < 1 )
|
||||
$per_page = 15;
|
||||
$per_page = 20;
|
||||
// @todo filter based on type
|
||||
$per_page = apply_filters( 'edit_posts_per_page', $per_page );
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user