Skip to content

Commit ca6744b

Browse files
Rename and reattribute plugin
1 parent 5e2d0e7 commit ca6744b

5 files changed

+30
-17
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.DS_Store

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Gravity Forms Email Filtering Add-On
2+
3+
Adds the ability to filter domains on the email field. Forked from CrossPeak Software's [Gravity Forms Email Blacklist](https://wordpress.org/plugins/gravity-forms-email-blacklist/) plugin.
4+
5+
## Installation
6+
7+
Download the latest zip from [Releases](https://github.com/KineticTeam/gravityforms-addon-email-filtering/releases).
8+
9+
Install like any other plugin and activate.
10+
11+
## Description from the original plugin
12+
13+
This plugin allows site admins to create a list of domains that if used in a Gravity Forms email field, will cause a validation error and block the submission. A default email denylist and validation message can be created to use across all email fields. These default settings can be overridden on a per email field basis.
14+
15+
Global settings can be added on `Forms > Settings > Email Filtering`. To add settings to an individual email field, select the field and navigate to the `Advanced Settings` tab.
16+
17+
This plugin works by blocking either individual email addresses (ex. [email protected]), email address domains (ex. gmail.com), and/or email address top-level domains (ex. *.com).
18+
19+
[Original readme and changelog](./crosspeak-readme.txt)

includes/class-gfemailblacklist.php renamed to class-gf-email-filtering-addon.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,4 @@
11
<?php
2-
/**
3-
* Gravity Forms Email Blacklist Handler.
4-
*
5-
* @class GFEmailBlacklist
6-
* @package GFEmailBlacklist
7-
*/
82

93
defined( 'ABSPATH' ) || exit;
104

File renamed without changes.

gf-emailblacklist.php renamed to gravityforms-addon-email-filtering.php

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
<?php
22
/**
3-
* Plugin Name: Gravity Forms Email Blacklist
4-
* Plugin URI: https://wordpress.org/plugins/gravity-forms-email-blacklist/
5-
* Description: This plugin adds the ability to set a blacklist of domains on the email field in gravity forms.
6-
* Version: 2.5.5
7-
* Author: CrossPeak Software
8-
* Author URI: https://www.crosspeaksoftware.com/
9-
* Text Domain: gravity-forms-email-blacklist
10-
* Domain Path: /languages
11-
*
12-
* @package GFEmailBlacklist
3+
* Plugin Name: Gravity Forms Email Filtering Add-On
4+
* Plugin URI: https://github.com/KineticTeam/gravityforms-addon-email-filtering
5+
* Description: Adds the ability to filter domains on the email field. Forked from CrossPeak Software's "Gravity Forms Email Blacklist" plugin.
6+
* Version: 3.0.0
7+
* Requires PHP: 8.0
8+
* Author: Kinetic
9+
* Author URI: https://kinetic.com/
10+
* License: GPLv2 or later
11+
* License URI: http://www.gnu.org/licenses/gpl-2.0.html
1312
*/
1413

1514
defined( 'ABSPATH' ) || exit;
@@ -29,7 +28,7 @@ public static function load() {
2928
return;
3029
}
3130

32-
require_once 'includes/class-gfemailblacklist.php';
31+
require_once 'class-gf-email-filtering-addon.php';
3332
GFAddOn::register( 'GFEmailBlacklist' );
3433
}
3534
}

0 commit comments

Comments
 (0)