[ticket/11495] Use descendants and ancestors instead of parents/children

PHPBB3-11495