• In \inc\Handle.php line 247 you are incorrectly checking permissions when adding a comment:

    if ( !dwqa_current_user_can( 'You do not have permission to edit answer.' ) ) {
        dwqa_add_notice( __( 'You do not have permission to edit comment.', 'dwqa' ), 'error' );
    }

    It should be:

    if ( !dwqa_current_user_can( 'edit_comment' ) ) {
    	dwqa_add_notice( __( 'You do not have permission to edit comment.', 'dwqa' ), 'error' );
    }

    https://wordpress.org/plugins/dw-question-answer/

Viewing 1 replies (of 1 total)
  • Plugin Author DesignWall

    (@designwall)

    Hi,
    Thank you for interesting in our product and your feedback. We appreciate it.
    I sent and notified our technical team about this problem. We are checking and fix.
    Any your suggestion will make our product become better and better.

    Regards,
    Dominic from DesignWall team.

Viewing 1 replies (of 1 total)

The topic ‘Bug – 1.4.3.3 – permissions check when editing comment’ is closed to new replies.