Skip to content

Commit

Permalink
Hooking to comment_form_top instead of comment_form.
Browse files Browse the repository at this point in the history
  • Loading branch information
thenbrent committed Aug 1, 2011
1 parent 4a95344 commit 883ba73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function sc_social_connect_add_meta_to_comment_form() {
echo "<input type='hidden' name='social_connect_comment_via_provider' value='$social_connect_provider' />";
}
}
add_action( 'comment_form', 'sc_social_connect_add_meta_to_comment_form' );
add_action( 'comment_form_top', 'sc_social_connect_add_meta_to_comment_form' );


function sc_social_connect_add_comment_meta( $comment_id ) {
Expand Down Expand Up @@ -102,7 +102,7 @@ function sc_render_comment_form_social_connect() {
sc_render_login_form_social_connect();
}
}
add_action( 'comment_form', 'sc_render_comment_form_social_connect' );
add_action( 'comment_form_top', 'sc_render_comment_form_social_connect' );


function sc_render_login_page_uri(){
Expand Down

0 comments on commit 883ba73

Please sign in to comment.