Fixes to previous commit
If the current site is unknown, you can't get specific site settings for it.
Getting current site information is global information
Merge branch 'FIX-MOBILE-468' into release_candidate