Fix setting wp_locale when it doesn't exist.