Allow administrators to view profiles, when members cannot

If you have disabled the 'Allow members to view profiles' setting but you still want site administrators to be able to view profiles, then add this code to an mu-plugin or your theme's functions.php: