Question
I created a custom comments_list() function, it works fine, the only problem is to show child comments inside the parent div. It works well with first and second depth levels but not for others. This is my code: /* ----------------------------------------------------------------------------- * Comments ...
0
, 3 days 0 Answers 15 views

Question
i used this code for Limit Comment Length: add_filter( 'preprocess_comment', 'wpb_preprocess_comment' ); function wpb_preprocess_comment($comment) { if ( strlen( $comment['comment_content'] ) > 5000 ) { wp_die('Comment is too long. Please keep your comment ...
0
, 2 weeks 0 Answers 25 views

Question
It can be sometimes bothersome when, in the Discussion (Comments) dashboard, where the admin can see a list of comments, moving the mouse over a link will cause a preview of that link. Sometimes the preview gets in the way ...
0
, 2 weeks 0 Answers 23 views

Question
I am using the wp_new_comment() (previously used the wp_insert_comment()) function. I now notice that I get a Notice: Undefined index: comment_author_url and a: Notice: Undefined index: comment_author_email in the wp-includes/comment.php file. Previously, when using wp_insert_comment() I left these fields in the ...
0
, 3 weeks 0 Answers 33 views