Skip to content

Auto approved comments #3579

Description

@Menrath

Quick summary

Shouldn't the comment_previously_approved option only affect previosly approved normal comments. The query used to determine the state

$ok_to_comment = $wpdb->get_var( $wpdb->prepare( "SELECT comment_approved FROM $wpdb->comments WHERE comment_author = %s AND comment_author_url = %s and comment_approved = '1' LIMIT 1", $author, $author_url ) );

does not check to the comment_type.

Steps to reproduce

  1. Enable auto approve Likes.
  2. Create post.
  3. Like post from remote actor.
  4. Reply-Comment from remote actor.
  5. The reply is automatically approved.

Site owner impact

More than 60% of the total website/platform users

Severity

Minor

What other impact(s) does this issue have?

No response

If a workaround is available, please outline it here.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions