Use correct variable. see [27373].

props TobiasBg.
fixes #14424.

Built from https://develop.svn.wordpress.org/trunk@27675


git-svn-id: http://core.svn.wordpress.org/trunk@27518 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Nacin 2014-03-24 03:25:16 +00:00
parent cb58f19135
commit 9babc32900
1 changed files with 1 additions and 1 deletions

View File

@ -2338,7 +2338,7 @@ $page_links = paginate_links( array(
'prev_text' => __('«'), 'prev_text' => __('«'),
'next_text' => __('»'), 'next_text' => __('»'),
'total' => ceil($wp_query->found_posts / 10), 'total' => ceil($wp_query->found_posts / 10),
'current' => $_GET['paged'] 'current' => $q['paged'],
)); ));
if ( $page_links ) if ( $page_links )