From 8da1227cf1485d66b020d92c97e46005a65e10ff Mon Sep 17 00:00:00 2001 From: Erick Hitter <git-contrib@ethitter.com> Date: Sun, 26 Jun 2022 19:57:53 -0700 Subject: [PATCH] =?UTF-8?q?If=20we're=20at=20the=20end,=20no=20need=20to?= =?UTF-8?q?=20keep=20going=20=F0=9F=A4=A6=E2=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- automatically-paginate-posts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/automatically-paginate-posts.php b/automatically-paginate-posts.php index 88b95d2..58a7593 100644 --- a/automatically-paginate-posts.php +++ b/automatically-paginate-posts.php @@ -719,7 +719,7 @@ class Automatically_Paginate_Posts { $new_blocks[] = $block; if ( $this->is_at_end_for_pages( $key, $count ) ) { - continue; + break; } if ( -- GitLab