Version Description
Initial release
Download this release
Release Info
Developer | dfactory |
Plugin | Math Captcha |
Version | 1.0.0.3 |
Comparing to | |
See all releases |
Code changes from version 1.0.0.2 to 1.0.0.3
- includes/math-captcha-cf7.php +4 -1
- readme.txt +2 -2
- wp-math-captcha.php +1 -1
includes/math-captcha-cf7.php
CHANGED
@@ -42,8 +42,11 @@ function wpcf7_mathcaptcha_shortcode_handler($tag)
|
|
42 |
|
43 |
$mc_form = $mc_class->generate_captcha_phrase('cf7');
|
44 |
$mc_form[$mc_form['input']] = '<input %2$s />';
|
|
|
|
|
45 |
|
46 |
-
return sprintf('
|
|
|
47 |
}
|
48 |
|
49 |
|
42 |
|
43 |
$mc_form = $mc_class->generate_captcha_phrase('cf7');
|
44 |
$mc_form[$mc_form['input']] = '<input %2$s />';
|
45 |
+
|
46 |
+
$math_captcha_title = apply_filters('math_captcha_title', $mc_class->get_attribute('title'));
|
47 |
|
48 |
+
return sprintf(((empty($math_captcha_title)) ? '' : ''.$math_captcha_title.'').'<span class="wpcf7-form-control-wrap %1$s">'.$mc_form[1].$mc_form[2].$mc_form[3].'%3$s', $tag->name, $atts, $validation_error);
|
49 |
+
|
50 |
}
|
51 |
|
52 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://www.dfactory.eu/
|
|
4 |
Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.5.1
|
7 |
-
Stable tag: 1.0.0.
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
@@ -48,5 +48,5 @@ No questions yet.
|
|
48 |
|
49 |
== Upgrade Notice ==
|
50 |
|
51 |
-
= 1.0.0.
|
52 |
Initial release
|
4 |
Tags: antispam, capcha, captcha, captha, catcha, comment, comments, spam, security, login, lost password, math captcha, registration, cf7, contact, contact forms, form, contact form 7, bbpress
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.5.1
|
7 |
+
Stable tag: 1.0.0.3
|
8 |
License: MIT License
|
9 |
License URI: http://opensource.org/licenses/MIT
|
10 |
|
48 |
|
49 |
== Upgrade Notice ==
|
50 |
|
51 |
+
= 1.0.0.3 =
|
52 |
Initial release
|
wp-math-captcha.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
/*
|
3 |
Plugin Name: Math Captcha
|
4 |
Description: Math Captcha is a <strong>very effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
|
5 |
-
Version: 1.0.0.
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
|
2 |
/*
|
3 |
Plugin Name: Math Captcha
|
4 |
Description: Math Captcha is a <strong>very effective CAPTCHA for WordPress</strong> that integrates into login, registration, comments, Contact Form 7 and bbPress.
|
5 |
+
Version: 1.0.0.3
|
6 |
Author: dFactory
|
7 |
Author URI: http://www.dfactory.eu/
|
8 |
Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
|