WordPress.org

Ready to get started?Download WordPress

Forums

[closed] auto approve user comments on submit (4 posts)

  1. icecappacino
    Member
    Posted 1 year ago #

    I'm trying to allow automatic approval of comments by users without admin approval. I have unchecked the options

    Before a comment appear:
    An administrator must always approve the comment
    Comment author must have a previously approved comments

    I even did

    add_filter( 'pre_comment_approved', 'wpse47172_approve_logged_in_users' );
    
    function wpse47172_approve_logged_in_users( $approved )
    {
        return 1;
    }
    add_action('wp_enqueue_scripts', 'my_scripts_method');

    but I still get

    "Your comment is awaiting moderation."

    Any suggestions?

  2. rkosha
    Member
    Posted 1 year ago #

    I'm having the same issue. I've gone over the settings, 'help' and 'documentation' several times, and even raised my 'Hold comments in queue if it contains 50 or more links' and member comments are still being held for moderation. I only have wordpress, s2member and gallery on the site, so I don't think there's a conflict in spam filter. This was working before I updated plug-ins a few weeks ago, but now I'm lost. Any thoughts?

  3. subrat_php
    Member
    Posted 10 months ago #

    I too faced the same problem....Plz suggest

  4. esmi
    Theme Diva & Forum Moderator
    Posted 10 months ago #

    As per the Forum Welcome, please post your own topic. Posting in an existing topic prevents us from being able to track issues by topic. Added to which, your problem - despite any similarity in symptoms - is likely to be completely different.

Topic Closed

This topic has been closed to new replies.

About this Topic