Add ability to modify ul classes

The second parameter to the function was not being utilized.  I have made it output any classes passed to the class tag of the list.
This commit is contained in:
Andrew Schultz 2019-12-13 17:28:06 +07:00 committed by GitHub
parent 36aa3366b2
commit 522bb8fdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ if ( ! function_exists( 'understrap_pagination' ) ) {
<nav aria-label="<?php echo $args['screen_reader_text']; ?>">
<ul class="pagination">
<ul class="<?php echo esc_attr($class); ?>">
<?php
foreach ( $links as $key => $link ) {