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:
parent
cb58f19135
commit
9babc32900
|
@ -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 )
|
||||||
|
|
Loading…
Reference in New Issue