adds wp_link_pages fallback for ap_core_link_pages