From 4d1761c881a03c52e21e3efa1f7392110df61bdf Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 10 Sep 2019 20:01:54 +0000 Subject: [PATCH] Coding Standards: Fix WPCS issue in [46088]. See #47110. Built from https://develop.svn.wordpress.org/trunk@46089 git-svn-id: http://core.svn.wordpress.org/trunk@45901 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/general-template.php | 9 ++++++--- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 4 deletions(-) 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.