Since updating to 3.5, my code for outputting a list of subpage is no longer working.
<?php if( $post->post_parent ) {
$children = wp_list_pages("title_li=&child_of=".$post->post_parent."&echo=0&sort_order=ASC&sort_column=post_date");
} else {
$children = wp_list_pages("title_li=&child_of=".$post->ID."&echo=0&sort_order=ASC&sort_column=post_date");
}
Anyone have any ideas as to what might have caused this to stop outputting in 3.5?