mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
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:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user