Skip to content

Commit

Permalink
No arguments are required for get_the_content()
Browse files Browse the repository at this point in the history
  • Loading branch information
aprea committed Jun 6, 2014
1 parent 6f6f43d commit 1755ca1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class/advanced-excerpt.php
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ function filter( $content ) {
$content_has_filter = true;
}

$text = get_the_content( '' );
$text = get_the_content();
$text = apply_filters( 'the_content', $text );

// add our filter back in
Expand Down

0 comments on commit 1755ca1

Please sign in to comment.