Skip to content

Commit

Permalink
Impersonate Postmatic comment checkbox instead of hard-coding checked,
Browse files Browse the repository at this point in the history
…fixes #50
  • Loading branch information
cyberhobo committed Dec 7, 2015
1 parent 60a40aa commit 9fdc5f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions postmatic-social.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,7 @@ public function twitter_author( $email ) {
public function comment_extra_fields() {
echo '<div class="comment-form-pms-extra">';
echo '<div class="pms-optin">';
printf( '<input type="hidden" name="prompt_comment_subscribe" value="1">' );
printf( '<input type="checkbox" name="pms_comment_subscribe" value="1" id="pms_comment_subscribe">&nbsp;&nbsp;' );
printf( '<input type="checkbox" name="prompt_comment_subscribe" value="1" id="pms_comment_subscribe">&nbsp;&nbsp;' );
printf( '<label for="pms_comment_subscribe">%s</label>', esc_html__( 'Participate in this conversation via email', 'postmatic-social' ) );
echo '</div><!-- .pms-optin -->';
echo '<div class="pms-optin-form">';
Expand Down

0 comments on commit 9fdc5f8

Please sign in to comment.