Skip to content

Commit

Permalink
fixed direct pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
itthinx committed May 7, 2015
1 parent baa9ce8 commit a7b66b0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/admin/groups-admin-capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ function groups_admin_capabilities() {
if ( $offset < 0 ) {
$offset = 0;
}
$paged = isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 0;
$paged = isset( $_REQUEST['paged'] ) ? intval( $_REQUEST['paged'] ) : 0;
if ( $paged < 0 ) {
$paged = 0;
}
Expand Down
2 changes: 1 addition & 1 deletion lib/admin/groups-admin-groups.php
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function groups_admin_groups() {
if ( $offset < 0 ) {
$offset = 0;
}
$paged = isset( $_GET['paged'] ) ? intval( $_GET['paged'] ) : 0;
$paged = isset( $_REQUEST['paged'] ) ? intval( $_REQUEST['paged'] ) : 0;
if ( $paged < 0 ) {
$paged = 0;
}
Expand Down
1 change: 1 addition & 0 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ See also [Groups](http://www.itthinx.com/plugins/groups/)
* Added ABSPATH check to plugin main file.
* Improved the UI rendering cancel links as buttons.
* Improved the UI adding some space on capability selector box.
* Fixed a pagination issue when the page number is indicated on the Groups or Capabilities screen.

= 1.5.1 =
* Please **MAKE A BACKUP** of your site and database PRIOR to updating.
Expand Down

0 comments on commit a7b66b0

Please sign in to comment.