Version Description
Initial release
Download this release
Release Info
| Developer | dfactory |
| Plugin | |
| Version | 1.0.0.1 |
| Comparing to | |
| See all releases | |
Code changes from version 1.0.0 to 1.0.0.1
- readme.txt +5 -5
- wp-math-captcha.php +13 -12
readme.txt
CHANGED
|
@@ -4,11 +4,11 @@ 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 |
|
| 11 |
-
Math Captcha is a very effective CAPTCHA for WordPress that integrates into login, registration, comments,
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
|
@@ -18,7 +18,7 @@ For more information, check out the [plugin page](http://www.dfactory.eu/plugins
|
|
| 18 |
|
| 19 |
= Features include: =
|
| 20 |
|
| 21 |
-
* Select where to use math captcha: login, registration and lost password forms, comments,
|
| 22 |
* Hiding captcha for logged in users
|
| 23 |
* Select which mathematical operation to use
|
| 24 |
* Displaying captcha as numbers and/or words
|
|
@@ -48,5 +48,5 @@ No questions yet.
|
|
| 48 |
|
| 49 |
== Upgrade Notice ==
|
| 50 |
|
| 51 |
-
= 1.0.0 =
|
| 52 |
-
Initial
|
| 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.1
|
| 8 |
License: MIT License
|
| 9 |
License URI: http://opensource.org/licenses/MIT
|
| 10 |
|
| 11 |
+
Math Captcha is a very effective CAPTCHA for WordPress that integrates into login, registration, comments, Contact Form 7 and bbPress.
|
| 12 |
|
| 13 |
== Description ==
|
| 14 |
|
| 18 |
|
| 19 |
= Features include: =
|
| 20 |
|
| 21 |
+
* Select where to use math captcha: login, registration and lost password forms, comments, Contact Form 7 and bbPress
|
| 22 |
* Hiding captcha for logged in users
|
| 23 |
* Select which mathematical operation to use
|
| 24 |
* Displaying captcha as numbers and/or words
|
| 48 |
|
| 49 |
== Upgrade Notice ==
|
| 50 |
|
| 51 |
+
= 1.0.0.1 =
|
| 52 |
+
Initial release
|
wp-math-captcha.php
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
<?php
|
| 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,
|
| 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/
|
|
@@ -62,16 +62,8 @@ class Math_Captcha
|
|
| 62 |
register_activation_hook(__FILE__, array(&$this, 'activation'));
|
| 63 |
register_deactivation_hook(__FILE__, array(&$this, 'deactivation'));
|
| 64 |
|
| 65 |
-
//get defaults
|
| 66 |
$this->options = get_option('mc_options');
|
| 67 |
|
| 68 |
-
//error messages
|
| 69 |
-
$this->err_msg = array(
|
| 70 |
-
'fill' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Please enter captcha value.', 'math-captcha'),
|
| 71 |
-
'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
|
| 72 |
-
'time' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Captcha time expired.', 'math-captcha')
|
| 73 |
-
);
|
| 74 |
-
|
| 75 |
//actions
|
| 76 |
add_action('plugins_loaded', array(&$this, 'init_mc_session'), 1);
|
| 77 |
add_action('plugins_loaded', array(&$this, 'load_actions_filters'), 1);
|
|
@@ -873,6 +865,12 @@ class Math_Captcha
|
|
| 873 |
*/
|
| 874 |
public function load_defaults()
|
| 875 |
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 876 |
$this->enable_for = array(
|
| 877 |
'login_form' => __('login form', 'math-captcha'),
|
| 878 |
'registration_form' => __('registration form', 'math-captcha'),
|
|
@@ -881,16 +879,19 @@ class Math_Captcha
|
|
| 881 |
'bbpress' => __('bbpress', 'math-captcha'),
|
| 882 |
'contact_form_7' => __('contact form 7', 'math-captcha')
|
| 883 |
);
|
|
|
|
| 884 |
$this->choice = array(
|
| 885 |
'yes' => __('yes', 'math-captcha'),
|
| 886 |
'no' => __('no', 'math-captcha')
|
| 887 |
);
|
|
|
|
| 888 |
$this->mathematical_operations = array(
|
| 889 |
'addition' => __('addition (+)', 'math-captcha'),
|
| 890 |
'subtraction' => __('subtraction (-)', 'math-captcha'),
|
| 891 |
'multiplication' => __('multiplication (×)', 'math-captcha'),
|
| 892 |
'division' => __('division (÷)', 'math-captcha')
|
| 893 |
);
|
|
|
|
| 894 |
$this->groups = array(
|
| 895 |
'numbers' => __('numbers', 'math-captcha'),
|
| 896 |
'words' => __('words', 'math-captcha')
|
|
@@ -1146,12 +1147,12 @@ class Math_Captcha
|
|
| 1146 |
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'math-captcha').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum','math-captcha').'">'.__('Support forum', 'math-captcha').'</a></p>
|
| 1147 |
<hr />
|
| 1148 |
<h3>'.__('Do you like this plugin?', 'math-captcha').'</h3>
|
| 1149 |
-
<p><a href="http://wordpress.org/support/view/plugin-reviews/math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br />'.
|
| 1150 |
__('Blog about it & link to the', 'math-captcha').' <a href="http://dfactory.eu/plugins/math-captcha/" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br />'.
|
| 1151 |
__('Check out our other', 'math-captcha').' <a href="http://dfactory.eu/plugins/" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
|
| 1152 |
</p>
|
| 1153 |
<hr />
|
| 1154 |
-
<p class="df-link">
|
| 1155 |
</div>
|
| 1156 |
</div>
|
| 1157 |
<div class="clear"></div>
|
| 1 |
<?php
|
| 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.1
|
| 6 |
Author: dFactory
|
| 7 |
Author URI: http://www.dfactory.eu/
|
| 8 |
Plugin URI: http://www.dfactory.eu/plugins/math-captcha/
|
| 62 |
register_activation_hook(__FILE__, array(&$this, 'activation'));
|
| 63 |
register_deactivation_hook(__FILE__, array(&$this, 'deactivation'));
|
| 64 |
|
|
|
|
| 65 |
$this->options = get_option('mc_options');
|
| 66 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 67 |
//actions
|
| 68 |
add_action('plugins_loaded', array(&$this, 'init_mc_session'), 1);
|
| 69 |
add_action('plugins_loaded', array(&$this, 'load_actions_filters'), 1);
|
| 865 |
*/
|
| 866 |
public function load_defaults()
|
| 867 |
{
|
| 868 |
+
$this->err_msg = array(
|
| 869 |
+
'fill' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Please enter captcha value.', 'math-captcha'),
|
| 870 |
+
'wrong' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Invalid captcha value.', 'math-captcha'),
|
| 871 |
+
'time' => '<strong>'. __('ERROR', 'math-captcha').'</strong>: '.__('Captcha time expired.', 'math-captcha')
|
| 872 |
+
);
|
| 873 |
+
|
| 874 |
$this->enable_for = array(
|
| 875 |
'login_form' => __('login form', 'math-captcha'),
|
| 876 |
'registration_form' => __('registration form', 'math-captcha'),
|
| 879 |
'bbpress' => __('bbpress', 'math-captcha'),
|
| 880 |
'contact_form_7' => __('contact form 7', 'math-captcha')
|
| 881 |
);
|
| 882 |
+
|
| 883 |
$this->choice = array(
|
| 884 |
'yes' => __('yes', 'math-captcha'),
|
| 885 |
'no' => __('no', 'math-captcha')
|
| 886 |
);
|
| 887 |
+
|
| 888 |
$this->mathematical_operations = array(
|
| 889 |
'addition' => __('addition (+)', 'math-captcha'),
|
| 890 |
'subtraction' => __('subtraction (-)', 'math-captcha'),
|
| 891 |
'multiplication' => __('multiplication (×)', 'math-captcha'),
|
| 892 |
'division' => __('division (÷)', 'math-captcha')
|
| 893 |
);
|
| 894 |
+
|
| 895 |
$this->groups = array(
|
| 896 |
'numbers' => __('numbers', 'math-captcha'),
|
| 897 |
'words' => __('words', 'math-captcha')
|
| 1147 |
<p>'.__('If you are having problems with this plugin, please talk about them in the', 'math-captcha').' <a href="http://dfactory.eu/support/" target="_blank" title="'.__('Support forum','math-captcha').'">'.__('Support forum', 'math-captcha').'</a></p>
|
| 1148 |
<hr />
|
| 1149 |
<h3>'.__('Do you like this plugin?', 'math-captcha').'</h3>
|
| 1150 |
+
<p><a href="http://wordpress.org/support/view/plugin-reviews/wp-math-captcha" target="_blank" title="'.__('Rate it 5', 'math-captcha').'">'.__('Rate it 5', 'math-captcha').'</a> '.__('on WordPress.org', 'math-captcha').'<br />'.
|
| 1151 |
__('Blog about it & link to the', 'math-captcha').' <a href="http://dfactory.eu/plugins/math-captcha/" target="_blank" title="'.__('plugin page', 'math-captcha').'">'.__('plugin page', 'math-captcha').'</a><br />'.
|
| 1152 |
__('Check out our other', 'math-captcha').' <a href="http://dfactory.eu/plugins/" target="_blank" title="'.__('WordPress plugins', 'math-captcha').'">'.__('WordPress plugins', 'math-captcha').'</a>
|
| 1153 |
</p>
|
| 1154 |
<hr />
|
| 1155 |
+
<p class="df-link">Created by <a href="http://www.dfactory.eu" target="_blank" title="dFactory - Quality plugins for WordPress"><img src="'.plugins_url('/images/logo-dfactory.png' , __FILE__ ).'" title="dFactory - Quality plugins for WordPress" alt="dFactory - Quality plugins for WordPress" /></a></p>
|
| 1156 |
</div>
|
| 1157 |
</div>
|
| 1158 |
<div class="clear"></div>
|
