[wp-cvs] wordpress/wp-admin edit.php,1.29,1.30

Ryan Boren rboren at users.sourceforge.net
Mon Aug 30 23:46:35 UTC 2004


Update of /cvsroot/cafelog/wordpress/wp-admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23659

Modified Files:
	edit.php 
Log 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.

Index: edit.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-admin/edit.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** edit.php	22 Aug 2004 23:24:50 -0000	1.29
--- edit.php	30 Aug 2004 23:46:32 -0000	1.30
***************
*** 84,89 ****
    </tr> 
  <?php
! if (empty($m)) $showposts = 15;
! $nopaging = true;
  include(ABSPATH.'wp-blog-header.php');
  
--- 84,94 ----
    </tr> 
  <?php
! $what_to_show = 'posts';
! if (empty($m)) {
!   $showposts = 15;
! } else {
!   $nopaging = true;
! }
! 
  include(ABSPATH.'wp-blog-header.php');
  




More information about the cvs mailing list