Skip to content

non-object errors in add_flagging_link_comment method #23

@Vernal

Description

@Vernal

When posting a new comment, several errors are thrown in the Crowd_Control->add_flagging_link_comment() method.

They seem related to the comment object not being given to this filter from check_comment method in wp-includes/comment.php => $comment = apply_filters( 'comment_text', $comment );

$comment is just the comment text, but the comment object is missing.

Via:
https://wordpress.org/support/topic/non-object-errors-in-add_flagging_link_comment-method

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions