Make WordPress Core


Ignore:
Timestamp:
08/30/2004 11:46:32 PM (22 years ago)
Author:
rboren
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/edit.php

    r1551 r1579  
    8484  </tr>
    8585<?php
    86 if (empty($m)) $showposts = 15;
    87 $nopaging = true;
     86$what_to_show = 'posts';
     87if (empty($m)) {
     88  $showposts = 15;
     89} else {
     90  $nopaging = true;
     91}
     92
    8893include(ABSPATH.'wp-blog-header.php');
    8994
Note: See TracChangeset for help on using the changeset viewer.