@ripsup on WordPress.org
Created ticket #23708 on Core Trac:get_post_ancestors() no longer works inside loop