WordPress/WordPress — pull request #2 by badfun (2012-03-29 21:18:18+00:00)
Title: get post ancestors

The codex stated that the parent page would be first result in the array, but it is actually last. I changed codex to reflect that. If being first is actually the desired result, we can just reverse the array.

makes more sense for it to be first so that we always know where it is in the array, no matter how many sub pages might get created.