[wp-trac] [WordPress Trac] #35274: Break-out conditional in allow_subdomain_install()
WordPress Trac
noreply at wordpress.org
Thu Dec 31 21:30:02 UTC 2015
#35274: Break-out conditional in allow_subdomain_install()
--------------------------------------+------------------------------
Reporter: stevegrunwell | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: multisite
--------------------------------------+------------------------------
Comment (by stevegrunwell):
Fair point, patch has been updated to use the current regex pattern.
As far as core never using `filter_var()` that's ''technically'' true, but
I did find one instance in wp-includes/class-phpmailer.php (which is why I
was like "okay, cool, let's use `filter_var()`"). I've yet to come across
a system with the filters disabled, but that doesn't mean they're not out
there :)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35274#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list