Notice fixes see #7509 props DD32 and jacobsantos.

git-svn-id: https://develop.svn.wordpress.org/trunk@8944 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Peter Westwood
2008-09-21 20:41:25 +00:00
parent e6d08d8092
commit 8e25586a4e
15 changed files with 91 additions and 26 deletions
+2 -2
View File
@@ -95,10 +95,10 @@ endif; ?>
<div class="tablenav">
<?php
$pagenum = absint( $_GET['pagenum'] );
$pagenum = isset( $_GET['pagenum'] ) ? absint( $_GET['pagenum'] ) : 0;
if ( empty($pagenum) )
$pagenum = 1;
if( !$catsperpage || $catsperpage < 0 )
if( ! isset( $catsperpage ) || $catsperpage < 0 )
$catsperpage = 20;
$page_links = paginate_links( array(