Skip to content

Commit

Permalink
Fix missing blog page from source providers
Browse files Browse the repository at this point in the history
  • Loading branch information
dilirity committed Oct 23, 2024
1 parent cf205f2 commit 8676bc6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ public static function get_critical_source_urls( $context_posts = array() ) {
$urls['posts_page'] = array( $permalink );
}
}
} elseif ( ! $front_page ) {
}

if ( ! $front_page && ! isset( $urls['posts_page'] ) ) {
$urls['posts_page'] = array( home_url( '/' ) );
}

Expand Down

0 comments on commit 8676bc6

Please sign in to comment.