I've added pagination to single.php, functionality is working as expected except for on the first page. wp is not recognizing when the current page is page 1, and is wrapping the first page span tag "1" with an active link.
When current page is Page 2
When current page is Page 1
<?php wp_link_pages( array(
'before' => '<div class="pagination">' . __( 'Pages:' ),
'after' => '</div>',
'link_before' => '<span>',
'link_after' => '</span>',
) );
?>
I'm wondering if it has to do with the body class, since page 2 has classes paged-2 and single-paged-2, and the first page doesnt not have any 'paged-' classes