Version Description
- Removed alert msg error.
Download this release
Release Info
Developer | dnesscarkey |
Plugin | WP Armour – Honeypot Anti Spam |
Version | 1.9.1 |
Comparing to | |
See all releases |
Code changes from version 1.9 to 1.9.1
- includes/js/wpa.js +0 -1
- includes/wpa_config.php +1 -1
- includes/wpa_functions.php +1 -1
- readme.txt +4 -1
- wp-armour.php +1 -1
includes/js/wpa.js
CHANGED
@@ -27,7 +27,6 @@ jQuery(document).ready(function(){
|
|
27 |
error: function(response) {
|
28 |
if (console && console.error) {
|
29 |
console.error('Unable to add WP Armour Anti Spam protection.');
|
30 |
-
alert('Unable to add WP Armour Anti Spam protection.');
|
31 |
}
|
32 |
}
|
33 |
});
|
27 |
error: function(response) {
|
28 |
if (console && console.error) {
|
29 |
console.error('Unable to add WP Armour Anti Spam protection.');
|
|
|
30 |
}
|
31 |
}
|
32 |
});
|
includes/wpa_config.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
-
$GLOBALS['wpa_version'] = '1.9';
|
4 |
$GLOBALS['wpa_field_name'] = get_option('wpa_field_name');
|
5 |
$GLOBALS['wpa_error_message'] = get_option('wpa_error_message');
|
6 |
$GLOBALS['wpa_disable_test_widget'] = get_option('wpa_disable_test_widget');
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
+
$GLOBALS['wpa_version'] = '1.9.1';
|
4 |
$GLOBALS['wpa_field_name'] = get_option('wpa_field_name');
|
5 |
$GLOBALS['wpa_error_message'] = get_option('wpa_error_message');
|
6 |
$GLOBALS['wpa_disable_test_widget'] = get_option('wpa_disable_test_widget');
|
includes/wpa_functions.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
function wpa_load_scripts(){
|
4 |
-
wp_enqueue_script( 'wpascript', plugins_url( '/js/wpa.js
|
5 |
wp_add_inline_script( 'wpascript', 'var wpa_admin_ajax_url = "'.admin_url("admin-ajax.php").'";');
|
6 |
wp_enqueue_style( 'wpa-css', plugins_url( '/css/wpa.css', __FILE__ ), array(), $GLOBALS['wpa_version']);
|
7 |
}
|
1 |
<?php
|
2 |
if ( ! defined( 'ABSPATH' ) ) exit;
|
3 |
function wpa_load_scripts(){
|
4 |
+
wp_enqueue_script( 'wpascript', plugins_url( '/js/wpa.js', __FILE__ ), array ( 'jquery' ), $GLOBALS['wpa_version'], true);
|
5 |
wp_add_inline_script( 'wpascript', 'var wpa_admin_ajax_url = "'.admin_url("admin-ajax.php").'";');
|
6 |
wp_enqueue_style( 'wpa-css', plugins_url( '/css/wpa.css', __FILE__ ), array(), $GLOBALS['wpa_version']);
|
7 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://dineshkarki.com.np/wp-armour-anti-spam
|
|
4 |
Tags: anti spam, spam checker, spam filter, gravity forms, contact form 7
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8.2
|
7 |
-
Stable tag: 1.9
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -136,6 +136,9 @@ With WP Armour - Honeypot Anti Spam plugin it is No. But if you want you can use
|
|
136 |
|
137 |
== Changelog ==
|
138 |
|
|
|
|
|
|
|
139 |
= = 1.9 =
|
140 |
* Removed inline javascript for better performance.
|
141 |
|
4 |
Tags: anti spam, spam checker, spam filter, gravity forms, contact form 7
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 5.8.2
|
7 |
+
Stable tag: 1.9.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
136 |
|
137 |
== Changelog ==
|
138 |
|
139 |
+
= = 1.9.1 =
|
140 |
+
* Removed alert msg error.
|
141 |
+
|
142 |
= = 1.9 =
|
143 |
* Removed inline javascript for better performance.
|
144 |
|
wp-armour.php
CHANGED
@@ -5,7 +5,7 @@ Plugin Name: WP Armour - Honeypot Anti Spam
|
|
5 |
Plugin URI: http://wordpress.org/plugins/honeypot/
|
6 |
Description: Add honeypot anti spam protection.
|
7 |
Author: Dnesscarkey
|
8 |
-
Version: 1.9
|
9 |
Author URI: https://dineshkarki.com.np/wp-armour-anti-spam
|
10 |
*/
|
11 |
|
5 |
Plugin URI: http://wordpress.org/plugins/honeypot/
|
6 |
Description: Add honeypot anti spam protection.
|
7 |
Author: Dnesscarkey
|
8 |
+
Version: 1.9.1
|
9 |
Author URI: https://dineshkarki.com.np/wp-armour-anti-spam
|
10 |
*/
|
11 |
|