summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/jetpack/modules/comments/comments.php')
-rw-r--r--plugins/jetpack/modules/comments/comments.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/jetpack/modules/comments/comments.php b/plugins/jetpack/modules/comments/comments.php
index 9160a164..2f317750 100644
--- a/plugins/jetpack/modules/comments/comments.php
+++ b/plugins/jetpack/modules/comments/comments.php
@@ -112,11 +112,10 @@ class Jetpack_Comments extends Highlander_Comments_Base {
// Selfishly remove everything from the existing comment form
remove_all_actions( 'comment_form_before' );
- remove_all_actions( 'comment_form_after' );
// Selfishly add only our actions back to the comment form
add_action( 'comment_form_before', array( $this, 'comment_form_before' ) );
- add_action( 'comment_form_after', array( $this, 'comment_form_after' ) );
+ add_action( 'comment_form_after', array( $this, 'comment_form_after' ), 1 ); // Set very early since we remove everything outputed before our action.
// Before a comment is posted
add_action( 'pre_comment_on_post', array( $this, 'pre_comment_on_post' ), 1 );
@@ -616,4 +615,4 @@ class Jetpack_Comments extends Highlander_Comments_Base {
}
}
-Jetpack_Comments::init(); \ No newline at end of file
+Jetpack_Comments::init();