I am guessing there is no update to this as it has been a month. Any chance of this plugin being fixed for wildcard domain?
still waiting on this to be fixed, especially for .ru spam signups…
You can edit the plugin manually (class-gfemailblacklist.php) to enable blocking wildcards until an update comes along.
After line 180 add:
$topLevel = '*.' . $this->gf_emailblacklist_clean( rgar( explode( '.', $domain ), count(explode( '.', $domain ))-1 ) );
Change line 196 from:
if ( ! in_array( $email, $blacklist, true ) && ! in_array( $domain, $blacklist, true ) ) {
to:
if ( ! in_array( $email, $blacklist, true ) && ! in_array( $domain, $blacklist, true ) && ! in_array($topLevel, $blacklist, true ) ) {
Wildcard domains should work as expected.
Plugin Author
Hall
(@hallme)
This have been added to the plugin as of 2.4
https://wordpress.org/plugins/gravity-forms-email-blacklist/#developers
Thank you all for the help and input with the plugin.
Dan
(@samureyed)
2.4 does not appear to contain these changes, still had to add them manually