paginate_links now uses global $wp_query