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: https://develop.svn.wordpress.org/trunk@1579 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2004-08-30 23:46:32 +00:00
parent 8f04812704
commit 1c7a48c64a
1 changed files with 7 additions and 2 deletions

View File

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