Limit number of posts displayed on the edit posts page to 15 unless searching by month. In that case, show all posts for that month. Regression from 1.2. Reported by shelleyp.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-08-30 23:46:32 +00:00
parent 5bbe16e0e0
commit add6cea9f1
1 changed files with 7 additions and 2 deletions

View File

@ -83,8 +83,13 @@ if( isset( $_GET['m'] ) )
<th scope="col"></th>
</tr>
<?php
if (empty($m)) $showposts = 15;
$nopaging = true;
$what_to_show = 'posts';
if (empty($m)) {
$showposts = 15;
} else {
$nopaging = true;
}
include(ABSPATH.'wp-blog-header.php');
if ($posts) {