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(); } }
Expand full source code Collapse full source code View on GitHub: ajax/comment-delete.php:54
Add your comment