mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-31 21:48:36 +01: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: http://svn.automattic.com/wordpress/trunk@1579 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5bbe16e0e0
commit
add6cea9f1
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user