fix: undefined userPage variable

This commit is contained in:
alistair3149 2021-06-22 11:23:42 -04:00 committed by GitHub
parent ae8235cd46
commit d6968e9383
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -175,7 +175,9 @@ final class Header extends Partial {
];
// The following defines the order of links added
if ( isset( $userPage ) ) {
$personalTools['userpage'] = $userPage;
}
if ( isset( $userGroups ) ) {
$personalTools['usergroups'] = $userGroups;
}