Comment_Delete::verify_permission()

Description #

Verify user permission.

Source #

File: ajax/comment-delete.php

	protected function verify_permission() {
		$comment_id = $this->req( 'comment_id' );

		if ( ! empty( $comment_id ) && ! ap_user_can_delete_comment( $comment_id ) ) {
			parent::verify_permission();
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment