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:
parent
8f04812704
commit
1c7a48c64a
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue