Skip to content

Commit 5346041

Browse files
committed
Safe to get rid of this check now
1 parent f5f7fed commit 5346041

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

includes/template-archive.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,6 @@ function carelib_archive_description( $desc ) {
235235
return apply_filters( 'carelib_archive_description', $desc );
236236
}
237237

238-
239238
/**
240239
* Helper function to build a newer/older or paginated navigation element within
241240
* a loop of multiple entries. This takes care of all the annoying formatting
@@ -271,7 +270,7 @@ function carelib_get_posts_navigation( $args = array() ) {
271270

272271
$args = wp_parse_args( $args, $defaults );
273272

274-
if ( function_exists( 'the_posts_pagination' ) && 'pagination' === $args['nav_type'] ) {
273+
if ( 'pagination' === $args['nav_type'] ) {
275274
$output = get_the_posts_pagination( $args );
276275
} else {
277276
$output = '<nav ' . carelib_get_attr( 'nav', 'archive' ) . '>';

0 commit comments

Comments
 (0)