fix(users): keep management inside center

This commit is contained in:
kate522 committed 2026-08-12 20:59:31 +08:00
1 parent c3bfd12c69
commit ce2b266890
44 files changed
+194 -2584

No files matched your search

+3 -2
View File
@@ -17,11 +17,12 @@ if (!function_exists('aksrt_render_profile_pagination')) {
* @param int $current 当前页
* @param string $param URL 参数名
*/
function aksrt_render_profile_pagination($total_pages, $current, $param) {
function aksrt_render_profile_pagination($total_pages, $current, $param, $base_url = '') {
if ($total_pages <= 1) {
return;
}
$base = remove_query_arg($param);
$base = $base_url !== '' ? $base_url : remove_query_arg($param);
$base = remove_query_arg($param, $base);
$base = add_query_arg($param, '%#%', $base);
$links = paginate_links([
'base' => $base,