Use target="_blank" in admin for profile_url() redirects (#1330)

* Use target="_blank" in admin for profile_url() redirects

* Update CHANGELOG.md
This commit is contained in:
Roman Kelesidis 2024-01-21 14:13:32 +07:00 committed by GitHub
commit 1ba5576ad5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 9 additions and 7 deletions

View file

@ -165,7 +165,7 @@ if (isset($_GET['pane']) && $_GET['pane'] == 'left') {
$template->assign_block_vars('reg_user_row', [
'ROW_CLASS' => $row_class,
'USER' => profile_url($onlinerow_reg[$i]),
'USER' => profile_url($onlinerow_reg[$i], true),
'STARTED' => bb_date($onlinerow_reg[$i]['session_start'], 'H:i', false),
'LASTUPDATE' => bb_date($onlinerow_reg[$i]['user_session_time'], 'H:i', false),
'IP_ADDRESS' => $reg_ip,