Skip to content
This repository has been archived by the owner on Nov 6, 2022. It is now read-only.

Set the posts_per_page to 100 #487

Merged
merged 2 commits into from
Dec 2, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion php/blocks/class-loader.php
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ protected function retrieve_blocks() {
[
'post_type' => block_lab()->get_post_type_slug(),
'post_status' => 'publish',
'posts_per_page' => - 1,
'posts_per_page' => 100, // This has to have a limit for this plugin to be scalable.
]
);

Expand Down