Skip to content

Commit

Permalink
Update includes/functions.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pfefferle authored Sep 25, 2024
1 parent 87f31f7 commit 7ff27f2
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions includes/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -1177,11 +1177,6 @@ function generate_post_summary( $post, $length = 500 ) {
return '';
}

$content_warning = get_content_warning( $post->ID );
if ( $content_warning ) {
return $content_warning;
}

$content = \sanitize_post_field( 'post_excerpt', $post->post_excerpt, $post->ID );

if ( $content ) {
Expand Down

0 comments on commit 7ff27f2

Please sign in to comment.