@fishpig on WordPress.org
Created ticket #60371 on Core Trac:get_home_path fails in headless mode.
Created ticket #47584 on Core Trac:Wrap __ function in function_exists