Skip to content

Commit

Permalink
Update SiteGen.php
Browse files Browse the repository at this point in the history
  • Loading branch information
officiallygod committed Aug 19, 2024
1 parent bf87782 commit 15513d0
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 @@ -309,7 +309,6 @@ public static function generate_site_posts( $site_info ) {
foreach ( $site_posts['posts'] as $idx => $post_data ) {
$post = array(
'post_status' => 'publish',
'post_type' => 'page',
'post_title' => $post_data['title'],
'post_content' => $post_data['content'],
'post_date' => date( 'Y-m-d H:i:s', strtotime( 'last sunday -' . $post_dates[ $idx ] . ' days' ) ),
Expand Down

0 comments on commit 15513d0

Please sign in to comment.