Bug with filter get_the_excerpt
-
The function of ‘get_the_excerpt’: https://wpseek.com/function/get_the_excerpt/
return apply_filters( 'get_the_excerpt', $post->post_excerpt, $post );
We can see the second param $post but it is not exist from jetpack
jetpack: ./_inc/lib/class.media-summary.php Line:314
$post_excerpt = apply_filters( 'get_the_excerpt', $post_excerpt );
The $post is not EXIST!!
So my theme will call the $post, and now got an fatal error.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Bug with filter get_the_excerpt’ is closed to new replies.