mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 15:50:09 +00:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user