[wp-trac] [WordPress Trac] #15706: Allow wildcarded domains in multisite limited email domains

WordPress Trac noreply at wordpress.org
Mon Aug 26 16:02:23 UTC 2013


#15706: Allow wildcarded domains in multisite limited email domains
------------------------------------+-----------------------------
 Reporter:  djcp                    |       Owner:  westi
     Type:  enhancement             |      Status:  reviewing
 Priority:  normal                  |   Milestone:  Future Release
Component:  Multisite               |     Version:
 Severity:  normal                  |  Resolution:
 Keywords:  dev-feedback has-patch  |
------------------------------------+-----------------------------
Changes (by boonebgorges):

 * keywords:  dev-feedback needs-refresh => dev-feedback has-patch


Comment:

 15706.3.patch is a refresh against trunk that does the following (some
 overlap with #21730):

 - Introduces `is_email_domain_in_list()`, a utility function for checking
 whether an email passes a domain whitelist/blacklist check. It supports
 wildcard URL chunks using *.
 - Refactors `is_email_address_unsafe()` to use `is_email_domain_in_list()`
 - Introduces `is_email_address_allowed()` to parallel
 `is_email_address_unsafe()`

 15706.3.unit-tests.patch provides unit tests for the new wildcard
 functionality. Everything passes.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/15706#comment:25>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list