Skip to content

Commit

Permalink
Set limit to 3
Browse files Browse the repository at this point in the history
  • Loading branch information
getdave committed Mar 20, 2023
1 parent f32d8de commit 3847f23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/compat/wordpress-6.3/template-parts-preloading.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/
function gutenberg_preload_template_parts( $preload_paths, $context ) {

$template_part_preloading_limit = apply_filters( 'gutenberg_template_part_preloading_limit', 10 );
$template_part_preloading_limit = apply_filters( 'gutenberg_template_part_preloading_limit', 3 );

// Limit to the Site Editor.
if ( ! empty( $context->name ) && 'core/edit-site' !== $context->name ) {
Expand Down

0 comments on commit 3847f23

Please sign in to comment.