Skip to content
Snippets Groups Projects
Commit 8da1227c authored by Erick Hitter's avatar Erick Hitter
Browse files

If we're at the end, no need to keep going :face_palm:

parent ddc4c26e
No related branches found
No related tags found
1 merge request!5Add block-editor support
......@@ -719,7 +719,7 @@ class Automatically_Paginate_Posts {
$new_blocks[] = $block;
if ( $this->is_at_end_for_pages( $key, $count ) ) {
continue;
break;
}
if (
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment