After upgrading to 1.5.5, I keep getting the following error when trying to add comments to any answer:
Sorry, comments are closed for this item.
Have you seen this before?
Please send me username & password of your site for further checking.
In this case, you can add the following code to the functions.php file in your theme folder.
add_action(‘dwqa_before_single_question_comment’, ‘remove_action_jetpack_comment’);
function remove_action_jetpack_comment(){
remove_action( ‘comment_form_before’, array( Jetpack_Comments::init(), ‘comment_form_before’ ));
remove_action( ‘comment_form_after’, array( Jetpack_Comments::init(), ‘comment_form_after’ ), 1);
remove_action( ‘pre_comment_on_post’, array( Jetpack_Comments::init(), ‘pre_comment_on_post’ ), 1 );
remove_action( ‘comment_post’, array( Jetpack_Comments::init(), ‘add_comment_meta’ ) );
}
Reverting back to 1.4.2.2 seems to work
I sent and notified to our technical team about this issue, we will check it.
Any update on this? Still doesn’t work in 1.5.6
Please send me your FTP account for further checking, I have tested on our demo theme and the code working fine.
Please login or Register to submit your answer