Need $post to be an object when preparing links.
Return one WP_Error with any impermissible post_types.