Skip to content

Commit

Permalink
limit generated homepages response
Browse files Browse the repository at this point in the history
  • Loading branch information
amartya-dev committed Dec 18, 2023
1 parent cf2925f commit fd44bf5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion includes/SiteGen/SiteGen.php
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,6 @@ public static function get_home_pages( $site_description, $content_style, $targe
self::cache_sitegen_response( 'contentStructures', $generated_content_structures );
self::cache_sitegen_response( 'generatedPatterns', $generated_patterns );
self::cache_sitegen_response( 'homepages', $generated_homepages );
return $generated_homepages;
}

$random_homepages = array_rand( $generated_content_structures, 3 );
Expand Down

0 comments on commit fd44bf5

Please sign in to comment.