@adamnbowen on WordPress.org
Created ticket #17921 on Core Trac:$curpage->post_parent and $curpage->post_name checks