Contact Form 7 – reCaptcha v2 - Version 1.1.2

Version Description

(2019-01-14) = * Renamed Text Domain to match the plugin slug which should help translations. * Added Portable Object Template (.pot) file to /languages/ folder. * Added call to action on settings page which encourages users to like IQComputing on Facebook to receive the latest news and updates.

Download this release

Release Info

Developer IQComputing
Plugin Icon 128x128 Contact Form 7 – reCaptcha v2
Version 1.1.2
Comparing to
See all releases

Code changes from version 1.1.1 to 1.1.2

assets/images/facebook-like.png ADDED
Binary file
changelog.txt CHANGED
@@ -2,6 +2,15 @@
2
 
3
  This is to keep track of all changes the plugin undertakes. The readme.txt should only contain the most recent 3.
4
 
 
 
 
 
 
 
 
 
 
5
  = 1.1.1 =
6
 
7
  Release Date: January 07, 2019
2
 
3
  This is to keep track of all changes the plugin undertakes. The readme.txt should only contain the most recent 3.
4
 
5
+ = 1.1.2 =
6
+
7
+ Relase Date: January 14, 2019
8
+
9
+ * Overview
10
+ * Replaces old Text Domain 'iqc' with new Text Domain 'wpcf7-recaptcha' to match the plugin slug. This fix should help translations.
11
+ * Added Portable Object Template (.pot) file to the /languages/ folder to help translators.
12
+ * Added call to action on the settings page which encourages users to like IQComputing on Facebook to receive the latest news and updates regarding this plugin and future plugins we develop.
13
+
14
  = 1.1.1 =
15
 
16
  Release Date: January 07, 2019
languages/wpcf7-recaptcha.pot ADDED
@@ -0,0 +1,119 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2019-01-12 19:12-0600\n"
5
+ "PO-Revision-Date: 2019-01-12 19:20-0600\n"
6
+ "Last-Translator: \n"
7
+ "Language-Team: \n"
8
+ "Language: en\n"
9
+ "MIME-Version: 1.0\n"
10
+ "Content-Type: text/plain; charset=UTF-8\n"
11
+ "Content-Transfer-Encoding: 8bit\n"
12
+ "X-Generator: Poedit 2.2\n"
13
+ "X-Poedit-Basepath: ..\n"
14
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
15
+ "X-Poedit-KeywordsList: __;_e;esc_html;esc_html__;esc_att;esc_attr__;"
16
+ "esc_attr_e;esc_html_e\n"
17
+ "X-Poedit-SearchPath-0: .\n"
18
+
19
+ #: recaptcha-v2.php:71
20
+ msgid "Please verify that you are not a robot."
21
+ msgstr ""
22
+
23
+ #: recaptcha-v2.php:338 recaptcha-v2.php:369 recaptcha-v2.php:378
24
+ msgid "reCAPTCHA"
25
+ msgstr ""
26
+
27
+ #: recaptcha-v2.php:369
28
+ #, php-format
29
+ msgid ""
30
+ "To use reCAPTCHA, first you need to install an API key pair. For more "
31
+ "details, see %s."
32
+ msgstr ""
33
+
34
+ #: recaptcha-v2.php:369 recaptcha-v2.php:378
35
+ msgid "https://contactform7.com/recaptcha/"
36
+ msgstr ""
37
+
38
+ #: recaptcha-v2.php:377
39
+ #, php-format
40
+ msgid "Generate a form-tag for a reCAPTCHA widget. For more details, see %s."
41
+ msgstr ""
42
+
43
+ #: recaptcha-v2.php:388 recaptcha-v2.php:391
44
+ msgid "Size"
45
+ msgstr ""
46
+
47
+ #: recaptcha-v2.php:392
48
+ msgid "Normal"
49
+ msgstr ""
50
+
51
+ #: recaptcha-v2.php:394
52
+ msgid "Compact"
53
+ msgstr ""
54
+
55
+ #: recaptcha-v2.php:400 recaptcha-v2.php:403
56
+ msgid "Theme"
57
+ msgstr ""
58
+
59
+ #: recaptcha-v2.php:404
60
+ msgid "Light"
61
+ msgstr ""
62
+
63
+ #: recaptcha-v2.php:406
64
+ msgid "Dark"
65
+ msgstr ""
66
+
67
+ #: recaptcha-v2.php:412
68
+ msgid "Id attribute"
69
+ msgstr ""
70
+
71
+ #: recaptcha-v2.php:417
72
+ msgid "Class attribute"
73
+ msgstr ""
74
+
75
+ #: recaptcha-v2.php:430
76
+ msgid "Insert Tag"
77
+ msgstr ""
78
+
79
+ #: wpcf7-recaptcha.php:88 wpcf7-recaptcha.php:89
80
+ msgid "reCaptcha Version"
81
+ msgstr ""
82
+
83
+ #: wpcf7-recaptcha.php:123 wpcf7-recaptcha.php:135
84
+ msgid "Contact Form 7 - reCaptcha v2"
85
+ msgstr ""
86
+
87
+ #: wpcf7-recaptcha.php:124
88
+ msgid ""
89
+ "This version of Contact Form 7 already uses reCaptcha version 2, you do not "
90
+ "need 'Contact Form 7 - reCaptcha v2' installed at this time."
91
+ msgstr ""
92
+
93
+ #: wpcf7-recaptcha.php:140
94
+ msgid "Your reCaptcha settings have been updated."
95
+ msgstr ""
96
+
97
+ #: wpcf7-recaptcha.php:145
98
+ msgid "Select the version of reCaptcha you would like to use."
99
+ msgstr ""
100
+
101
+ #: wpcf7-recaptcha.php:146
102
+ msgid "You will still need to use the"
103
+ msgstr ""
104
+
105
+ #: wpcf7-recaptcha.php:147
106
+ msgid "shortcode tag in your Contact Form 7 forms."
107
+ msgstr ""
108
+
109
+ #: wpcf7-recaptcha.php:154
110
+ msgid "Default Usage"
111
+ msgstr ""
112
+
113
+ #: wpcf7-recaptcha.php:155
114
+ msgid "reCaptcha Version 2"
115
+ msgstr ""
116
+
117
+ #: wpcf7-recaptcha.php:158
118
+ msgid "Submit"
119
+ msgstr ""
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: iqcomputing
3
  Tags: contact-form-7, contact-form-7-recaptcha, recaptcha, spam
4
  Requires at least: 4.9
5
  Tested up to: 5.0.2
6
- Stable tag: 1.1.1
7
  License: GPLv2 or later
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
@@ -59,6 +59,11 @@ Should the above be correct, at this point it's time to open a support thread fo
59
 
60
  == Changelog ==
61
 
 
 
 
 
 
62
  = 1.1.1 (2019-01-07) =
63
  * Adds message whenever user forgets to click reCaptcha checkbox.
64
 
3
  Tags: contact-form-7, contact-form-7-recaptcha, recaptcha, spam
4
  Requires at least: 4.9
5
  Tested up to: 5.0.2
6
+ Stable tag: 1.1.2
7
  License: GPLv2 or later
8
  License URI: https://www.gnu.org/licenses/gpl-2.0.html
9
 
59
 
60
  == Changelog ==
61
 
62
+ = 1.1.2 (2019-01-14) =
63
+ * Renamed Text Domain to match the plugin slug which should help translations.
64
+ * Added Portable Object Template (.pot) file to /languages/ folder.
65
+ * Added call to action on settings page which encourages users to like IQComputing on Facebook to receive the latest news and updates.
66
+
67
  = 1.1.1 (2019-01-07) =
68
  * Adds message whenever user forgets to click reCaptcha checkbox.
69
 
recaptcha-v2.php CHANGED
@@ -68,7 +68,7 @@ function iqfix_wpcf7_recaptcha_enqueue_scripts() {
68
 
69
  wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
70
  wp_localize_script( 'google-recaptcha', 'wpcf7iqfix', array(
71
- 'recaptcha_empty' => esc_html__( 'Please verify that you are not a robot.', 'iqc' ),
72
  ) );
73
 
74
  }
@@ -335,7 +335,7 @@ function iqfix_wpcf7_add_tag_generator_recaptcha() {
335
  $tag_generator = WPCF7_TagGenerator::get_instance();
336
  $tag_generator->add(
337
  'recaptcha',
338
- esc_html__( 'reCAPTCHA', 'iqc' ),
339
  'iqfix_wpcf7_tag_generator_recaptcha',
340
  array( 'nameless' => 1 )
341
  );
@@ -366,7 +366,7 @@ function iqfix_wpcf7_tag_generator_recaptcha( $contact_form, $args = '' ) {
366
  ?>
367
  <div class="control-box">
368
  <fieldset>
369
- <legend><?php echo sprintf( esc_html( __( "To use reCAPTCHA, first you need to install an API key pair. For more details, see %s.", 'iqc' ) ), wpcf7_link( __( 'https://contactform7.com/recaptcha/', 'iqc' ), __( 'reCAPTCHA', 'iqc' ) ) ); ?></legend>
370
  </fieldset>
371
  </div>
372
  <?php
@@ -374,8 +374,8 @@ function iqfix_wpcf7_tag_generator_recaptcha( $contact_form, $args = '' ) {
374
  return;
375
  }
376
 
377
- $description = __( "Generate a form-tag for a reCAPTCHA widget. For more details, see %s.", 'iqc' );
378
- $desc_link = wpcf7_link( __( 'https://contactform7.com/recaptcha/', 'iqc' ), __( 'reCAPTCHA', 'iqc' ) );
379
 
380
  ?>
381
  <div class="control-box">
@@ -385,36 +385,36 @@ function iqfix_wpcf7_tag_generator_recaptcha( $contact_form, $args = '' ) {
385
  <table class="form-table">
386
  <tbody>
387
  <tr>
388
- <th scope="row"><?php echo esc_html( __( 'Size', 'iqc' ) ); ?></th>
389
  <td>
390
  <fieldset>
391
- <legend class="screen-reader-text"><?php echo esc_html( __( 'Size', 'iqc' ) ); ?></legend>
392
- <label for="<?php echo esc_attr( $args['content'] . '-size-normal' ); ?>"><input type="radio" name="size" class="option default" id="<?php echo esc_attr( $args['content'] . '-size-normal' ); ?>" value="normal" checked="checked" /> <?php echo esc_html( __( 'Normal', 'iqc' ) ); ?></label>
393
  <br />
394
- <label for="<?php echo esc_attr( $args['content'] . '-size-compact' ); ?>"><input type="radio" name="size" class="option" id="<?php echo esc_attr( $args['content'] . '-size-compact' ); ?>" value="compact" /> <?php echo esc_html( __( 'Compact', 'iqc' ) ); ?></label>
395
  </fieldset>
396
  </td>
397
  </tr>
398
 
399
  <tr>
400
- <th scope="row"><?php echo esc_html( __( 'Theme', 'iqc' ) ); ?></th>
401
  <td>
402
  <fieldset>
403
- <legend class="screen-reader-text"><?php echo esc_html( __( 'Theme', 'iqc' ) ); ?></legend>
404
- <label for="<?php echo esc_attr( $args['content'] . '-theme-light' ); ?>"><input type="radio" name="theme" class="option default" id="<?php echo esc_attr( $args['content'] . '-theme-light' ); ?>" value="light" checked="checked" /> <?php echo esc_html( __( 'Light', 'iqc' ) ); ?></label>
405
  <br />
406
- <label for="<?php echo esc_attr( $args['content'] . '-theme-dark' ); ?>"><input type="radio" name="theme" class="option" id="<?php echo esc_attr( $args['content'] . '-theme-dark' ); ?>" value="dark" /> <?php echo esc_html( __( 'Dark', 'iqc' ) ); ?></label>
407
  </fieldset>
408
  </td>
409
  </tr>
410
 
411
  <tr>
412
- <th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-id' ); ?>"><?php echo esc_html( __( 'Id attribute', 'iqc' ) ); ?></label></th>
413
  <td><input type="text" name="id" class="idvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-id' ); ?>" /></td>
414
  </tr>
415
 
416
  <tr>
417
- <th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-class' ); ?>"><?php echo esc_html( __( 'Class attribute', 'iqc' ) ); ?></label></th>
418
  <td><input type="text" name="class" class="classvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-class' ); ?>" /></td>
419
  </tr>
420
 
@@ -427,7 +427,7 @@ function iqfix_wpcf7_tag_generator_recaptcha( $contact_form, $args = '' ) {
427
  <input type="text" name="recaptcha" class="tag code" readonly="readonly" onfocus="this.select()" />
428
 
429
  <div class="submitbox">
430
- <input type="button" class="button button-primary insert-tag" value="<?php echo esc_attr( __( 'Insert Tag', 'iqc' ) ); ?>" />
431
  </div>
432
  </div>
433
  <?php
68
 
69
  wp_register_script( 'google-recaptcha', $url, array(), '2.0', true );
70
  wp_localize_script( 'google-recaptcha', 'wpcf7iqfix', array(
71
+ 'recaptcha_empty' => esc_html__( 'Please verify that you are not a robot.', 'wpcf7-recaptcha' ),
72
  ) );
73
 
74
  }
335
  $tag_generator = WPCF7_TagGenerator::get_instance();
336
  $tag_generator->add(
337
  'recaptcha',
338
+ esc_html__( 'reCAPTCHA', 'wpcf7-recaptcha' ),
339
  'iqfix_wpcf7_tag_generator_recaptcha',
340
  array( 'nameless' => 1 )
341
  );
366
  ?>
367
  <div class="control-box">
368
  <fieldset>
369
+ <legend><?php echo sprintf( esc_html( __( "To use reCAPTCHA, first you need to install an API key pair. For more details, see %s.", 'wpcf7-recaptcha' ) ), wpcf7_link( __( 'https://contactform7.com/recaptcha/', 'wpcf7-recaptcha' ), __( 'reCAPTCHA', 'wpcf7-recaptcha' ) ) ); ?></legend>
370
  </fieldset>
371
  </div>
372
  <?php
374
  return;
375
  }
376
 
377
+ $description = __( "Generate a form-tag for a reCAPTCHA widget. For more details, see %s.", 'wpcf7-recaptcha' );
378
+ $desc_link = wpcf7_link( __( 'https://contactform7.com/recaptcha/', 'wpcf7-recaptcha' ), __( 'reCAPTCHA', 'wpcf7-recaptcha' ) );
379
 
380
  ?>
381
  <div class="control-box">
385
  <table class="form-table">
386
  <tbody>
387
  <tr>
388
+ <th scope="row"><?php echo esc_html( __( 'Size', 'wpcf7-recaptcha' ) ); ?></th>
389
  <td>
390
  <fieldset>
391
+ <legend class="screen-reader-text"><?php echo esc_html( __( 'Size', 'wpcf7-recaptcha' ) ); ?></legend>
392
+ <label for="<?php echo esc_attr( $args['content'] . '-size-normal' ); ?>"><input type="radio" name="size" class="option default" id="<?php echo esc_attr( $args['content'] . '-size-normal' ); ?>" value="normal" checked="checked" /> <?php echo esc_html( __( 'Normal', 'wpcf7-recaptcha' ) ); ?></label>
393
  <br />
394
+ <label for="<?php echo esc_attr( $args['content'] . '-size-compact' ); ?>"><input type="radio" name="size" class="option" id="<?php echo esc_attr( $args['content'] . '-size-compact' ); ?>" value="compact" /> <?php echo esc_html( __( 'Compact', 'wpcf7-recaptcha' ) ); ?></label>
395
  </fieldset>
396
  </td>
397
  </tr>
398
 
399
  <tr>
400
+ <th scope="row"><?php echo esc_html( __( 'Theme', 'wpcf7-recaptcha' ) ); ?></th>
401
  <td>
402
  <fieldset>
403
+ <legend class="screen-reader-text"><?php echo esc_html( __( 'Theme', 'wpcf7-recaptcha' ) ); ?></legend>
404
+ <label for="<?php echo esc_attr( $args['content'] . '-theme-light' ); ?>"><input type="radio" name="theme" class="option default" id="<?php echo esc_attr( $args['content'] . '-theme-light' ); ?>" value="light" checked="checked" /> <?php echo esc_html( __( 'Light', 'wpcf7-recaptcha' ) ); ?></label>
405
  <br />
406
+ <label for="<?php echo esc_attr( $args['content'] . '-theme-dark' ); ?>"><input type="radio" name="theme" class="option" id="<?php echo esc_attr( $args['content'] . '-theme-dark' ); ?>" value="dark" /> <?php echo esc_html( __( 'Dark', 'wpcf7-recaptcha' ) ); ?></label>
407
  </fieldset>
408
  </td>
409
  </tr>
410
 
411
  <tr>
412
+ <th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-id' ); ?>"><?php echo esc_html( __( 'Id attribute', 'wpcf7-recaptcha' ) ); ?></label></th>
413
  <td><input type="text" name="id" class="idvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-id' ); ?>" /></td>
414
  </tr>
415
 
416
  <tr>
417
+ <th scope="row"><label for="<?php echo esc_attr( $args['content'] . '-class' ); ?>"><?php echo esc_html( __( 'Class attribute', 'wpcf7-recaptcha' ) ); ?></label></th>
418
  <td><input type="text" name="class" class="classvalue oneline option" id="<?php echo esc_attr( $args['content'] . '-class' ); ?>" /></td>
419
  </tr>
420
 
427
  <input type="text" name="recaptcha" class="tag code" readonly="readonly" onfocus="this.select()" />
428
 
429
  <div class="submitbox">
430
+ <input type="button" class="button button-primary insert-tag" value="<?php echo esc_attr( __( 'Insert Tag', 'wpcf7-recaptcha' ) ); ?>" />
431
  </div>
432
  </div>
433
  <?php
wpcf7-recaptcha.php CHANGED
@@ -2,12 +2,12 @@
2
  /**
3
  * Plugin Name: Contact Form 7 - reCaptcha v2
4
  * Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
5
- * Version: 1.1.1
6
  * Author: IQComputing
7
  * Author URI: http://www.iqcomputing.com/
8
  * License: GPL2
9
- * Text Domain: iqc
10
- * Domain Path: /languages
11
  */
12
 
13
 
@@ -19,7 +19,7 @@ defined( 'ABSPATH' ) or die( 'You cannot be here.' );
19
  */
20
  Class IQFix_WPCF7_Deity {
21
 
22
- public static $version = '1.1.1';
23
 
24
 
25
  /**
@@ -78,8 +78,8 @@ Class IQFix_WPCF7_Deity {
78
 
79
  add_submenu_page(
80
  'wpcf7',
81
- esc_html__( 'reCaptcha Version', 'iqc' ),
82
- esc_html__( 'reCaptcha Version', 'iqc' ),
83
  WPCF7_ADMIN_READ_WRITE_CAPABILITY,
84
  'recaptcha-version',
85
  array( $this, 'display_recaptcha_version_subpage' )
@@ -113,8 +113,8 @@ Class IQFix_WPCF7_Deity {
113
  if( version_compare( WPCF7_VERSION, '5.1', '<' ) ) {
114
  printf(
115
  '<div class="wrap"><h1>%1$s</h1><p>%2$s</p></div>',
116
- esc_html__( 'Contact Form 7 - reCaptcha v2', 'iqc' ),
117
- esc_html__( 'This version of Contact Form 7 already uses reCaptcha version 2, you do not need \'Contact Form 7 - reCaptcha v2\' installed at this time.', 'iqc' )
118
  );
119
  return;
120
  }
@@ -122,34 +122,53 @@ Class IQFix_WPCF7_Deity {
122
  ?>
123
 
124
  <div class="wrap">
 
 
 
 
 
125
 
126
  <?php
127
 
128
- printf( '<h1>%1$s</h1>', esc_html__( 'Contact Form 7 - reCaptcha v2', 'iqc' ) );
129
 
130
  if( $updated ) {
131
  printf(
132
  '<div class="notice updated"><p>%1$s</p></div>',
133
- esc_html__( 'Your reCaptcha settings have been updated.', 'iqc' )
134
  );
135
  }
136
 
137
  printf( '<p>%1$s %2$s <code>[recaptcha]</code> %3$s',
138
- esc_html__( 'Select the version of reCaptcha you would like to use.', 'iqc' ),
139
- esc_html__( 'You will still need to use the', 'iqc' ),
140
- esc_html__( 'shortcode tag in your Contact Form 7 forms.', 'iqc' )
141
  );
142
  ?>
143
 
144
  <form method="post">
145
  <?php wp_nonce_field( 'iqfix_wpcf7_vers_select', 'iqfix_wpcf7_nonce' ); ?>
146
  <select name="iqfix_recaptcha_version">
147
- <option value="0"><?php esc_html_e( 'Default Usage', 'iqc' ); ?></option>
148
- <option value="2" <?php selected( $selection, 2, true ); ?>><?php esc_html_e( 'reCaptcha Version 2', 'iqc' ); ?></option>
149
  </select>
150
 
151
- <?php submit_button( esc_html__( 'Submit', 'iqc' ), 'submit', 'iqfix_wpcf7_submit' ); ?>
152
  </form>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
 
154
  </div>
155
 
2
  /**
3
  * Plugin Name: Contact Form 7 - reCaptcha v2
4
  * Description: ReCaptcha v2 Fix for Contact Form 7 5.1 and later.
5
+ * Version: 1.1.2
6
  * Author: IQComputing
7
  * Author URI: http://www.iqcomputing.com/
8
  * License: GPL2
9
+ * Text Domain: wpcf7-recaptcha
10
+ * Domain Path: /languages/
11
  */
12
 
13
 
19
  */
20
  Class IQFix_WPCF7_Deity {
21
 
22
+ public static $version = '1.1.2';
23
 
24
 
25
  /**
78
 
79
  add_submenu_page(
80
  'wpcf7',
81
+ esc_html__( 'reCaptcha Version', 'wpcf7-recaptcha' ),
82
+ esc_html__( 'reCaptcha Version', 'wpcf7-recaptcha' ),
83
  WPCF7_ADMIN_READ_WRITE_CAPABILITY,
84
  'recaptcha-version',
85
  array( $this, 'display_recaptcha_version_subpage' )
113
  if( version_compare( WPCF7_VERSION, '5.1', '<' ) ) {
114
  printf(
115
  '<div class="wrap"><h1>%1$s</h1><p>%2$s</p></div>',
116
+ esc_html__( 'Contact Form 7 - reCaptcha v2', 'wpcf7-recaptcha' ),
117
+ esc_html__( 'This version of Contact Form 7 already uses reCaptcha version 2, you do not need \'Contact Form 7 - reCaptcha v2\' installed at this time.', 'wpcf7-recaptcha' )
118
  );
119
  return;
120
  }
122
  ?>
123
 
124
  <div class="wrap">
125
+ <style>
126
+ #iqFacebook {margin-top: 40px;}
127
+ #iqFacebook a {display: inline-block; margin-bottom: 12px;}
128
+ #iqFacebook img {display: block; max-width: 100%; height: auto;}
129
+ </style>
130
 
131
  <?php
132
 
133
+ printf( '<h1>%1$s</h1>', esc_html__( 'Contact Form 7 - reCaptcha v2', 'wpcf7-recaptcha' ) );
134
 
135
  if( $updated ) {
136
  printf(
137
  '<div class="notice updated"><p>%1$s</p></div>',
138
+ esc_html__( 'Your reCaptcha settings have been updated.', 'wpcf7-recaptcha' )
139
  );
140
  }
141
 
142
  printf( '<p>%1$s %2$s <code>[recaptcha]</code> %3$s',
143
+ esc_html__( 'Select the version of reCaptcha you would like to use.', 'wpcf7-recaptcha' ),
144
+ esc_html__( 'You will still need to use the', 'wpcf7-recaptcha' ),
145
+ esc_html__( 'shortcode tag in your Contact Form 7 forms.', 'wpcf7-recaptcha' )
146
  );
147
  ?>
148
 
149
  <form method="post">
150
  <?php wp_nonce_field( 'iqfix_wpcf7_vers_select', 'iqfix_wpcf7_nonce' ); ?>
151
  <select name="iqfix_recaptcha_version">
152
+ <option value="0"><?php esc_html_e( 'Default Usage', 'wpcf7-recaptcha' ); ?></option>
153
+ <option value="2" <?php selected( $selection, 2, true ); ?>><?php esc_html_e( 'reCaptcha Version 2', 'wpcf7-recaptcha' ); ?></option>
154
  </select>
155
 
156
+ <?php submit_button( esc_html__( 'Submit', 'wpcf7-recaptcha' ), 'submit', 'iqfix_wpcf7_submit' ); ?>
157
  </form>
158
+
159
+ <div id="iqFacebook">
160
+ <?php
161
+ printf( '<a href="%1$s" target="_blank"><img src="%2$s" width="540" height="410" alt="%3$s" /></a>',
162
+ esc_url( 'https://www.facebook.com/iqcomputing' ),
163
+ esc_url( trailingslashit( plugin_dir_url( __FILE__ ) ) . 'assets/images/facebook-like.png' ),
164
+ esc_attr__( 'Like IQComputing on Facebook mascot', 'wpcf7-recaptcha' )
165
+ );
166
+ printf( '<p>%1$s %2$s</p>',
167
+ esc_html__( 'Click the image above and like us on Facebook!', 'wpcf7-recaptcha' ),
168
+ esc_html__( 'Facebook is where you will receive the latest news on both this plugin and all future IQComputing plugins.', 'wpcf7-recaptcha' )
169
+ );
170
+ ?>
171
+ </div> <!-- id="iqFacebook" -->
172
 
173
  </div>
174