@fmorel90 on WordPress.org
Created ticket #9963 on Core Trac:get_permalink() returns wrong link outside The Loop