Typo fix. Props paul@byte. fixes #7323 for trunk
git-svn-id: http://svn.automattic.com/wordpress/trunk@8345 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6c3dc58ac3
commit
1ae2433c72
|
@ -122,7 +122,7 @@ endif;
|
|||
$pagenum = absint( $_GET['pagenum'] );
|
||||
if ( empty($pagenum) )
|
||||
$pagenum = 1;
|
||||
if( !$per_page || $pre_page < 0 )
|
||||
if( !$per_page || $per_page < 0 )
|
||||
$per_page = 20;
|
||||
|
||||
$num_pages = ceil(count($posts) / $per_page);
|
||||
|
|
Loading…
Reference in New Issue