You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
apply_filters( 'the_excerpt', $excerpt );
this is in a way correct.
But since the global post object isnt't setup, then there may be scenarios, where it will be the wrong post.
https://github.com/wp-graphql/wp-graphql/blob/develop/src/Type/Object/PostObject.php#L267
apply_filters( 'the_excerpt', $excerpt );
this is in a way correct.
But since the global post object isnt't setup, then there may be scenarios, where it will be the wrong post.
a way to solve this, could be to use
The same issue is relevant for "the_content" and "the_title"
The text was updated successfully, but these errors were encountered: