fixed pbm find author id ouside loop

This commit is contained in:
asus
2024-03-20 01:54:22 +01:00
parent 33adb095e5
commit 227d07fe46
3 changed files with 26 additions and 32 deletions

View File

@@ -136,7 +136,7 @@ function current_user_infos($atts) {
}
}
else if ($id_is === 'author') {
$user_id = get_author_id();
$user_id = \CUSTER\get_author_id();
}
else {
return '';