Bug in user sessions paging URLs
-
On the plugin admin page which lists the user sessions the paging links are linking to the wrong page. They link to the “users.php” page with a page of “user-session-synchronizer”.
/wp-admin/users.php?page=user-session-synchronizer&paged=22&sessions_per_page=20
They should be linking to the admin page with a page of “session_control”.
/wp-admin/admin.php?page=session_control&paged=22
Starting at line 130 of the includes/class-user-session-synchronizer-session-control.php file are the following lines.
$first_link = $base_link = add_query_arg( array( 'page' => 'user-session-synchronizer', ), admin_url( 'users.php' ) );
These should be changed to:
$first_link = $base_link = add_query_arg( array( 'page' => 'session_control', ), admin_url( 'admin.php' ) );
- The topic ‘Bug in user sessions paging URLs’ is closed to new replies.