Skip to content

Commit

Permalink
Update src/wp-includes/l10n.php
Browse files Browse the repository at this point in the history
Co-authored-by: Mukesh Panchal <[email protected]>
  • Loading branch information
at-benni and mukeshpanchal27 committed Jun 27, 2024
1 parent 12a88d1 commit 7c6173d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wp-includes/l10n.php
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ function get_admin_locale() {
$locale = get_user_locale( $admin_user );
}

return $locale ? $locale : get_locale();
return $locale ?? get_locale();
}

/**
Expand Down

0 comments on commit 7c6173d

Please sign in to comment.