jonkemp / jonkemp/wordpress-users

Pagination error when using permlinks

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
PHP
Stars
8
Forks
2
PR merge metrics
No merged PRs in 30d

Description

pagination does not work when permlinks/custom links are enabled

This can be fixed by changing the if statement on line: 86 in file
wp-users.php

from:
if(isset($_GET['page'])) {
$page = $_GET['page'];
} else {
// by default we show first page
$page = 1;
}

to:
$page = (get_query_var('page')) ? get_query_var('page') : 1;

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.