diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 69d5d2613e..d551ed0cd1 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -4077,7 +4077,8 @@ function paginate_links( $args = '' ) { esc_attr( $args['aria_current'] ), $args['before_page_number'] . number_format_i18n( $n ) . $args['after_page_number'] ); - $dots = true; + + $dots = true; else : if ( $args['show_all'] || ( $n <= $end_size || ( $current && $n >= $current - $mid_size && $n <= $current + $mid_size ) || $n > $total - $end_size ) ) : $link = str_replace( '%_%', 1 == $n ? '' : $args['format'], $args['base'] ); @@ -4093,10 +4094,12 @@ function paginate_links( $args = '' ) { esc_url( apply_filters( 'paginate_links', $link ) ), $args['before_page_number'] . number_format_i18n( $n ) . $args['after_page_number'] ); - $dots = true; + + $dots = true; elseif ( $dots && ! $args['show_all'] ) : $page_links[] = '' . __( '…' ) . ''; - $dots = false; + + $dots = false; endif; endif; endfor; diff --git a/wp-includes/version.php b/wp-includes/version.php index 58c00e4d5f..62e0a0e8ef 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.3-alpha-46088'; +$wp_version = '5.3-alpha-46089'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.