Redirect All Children: Do not redirect pages

This snippet for the Redirect All Children add-on will not redirect posts that are pages.

add_action( 'broadcast_redirect_child', function( $redirect, $child_blog_id, $child_post_id, $parent_blog_id, $parent_post_id )
{
	$post = get_post( $child_post_id );
	// Do not redirect for pages.
	if ( $post->post_type == 'page' )
		return false;
	return $redirect;
}, 10, 5 );