[wp-trac] [WordPress Trac] #21142: Add a filter to domain_exists() function
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 26 02:37:05 UTC 2012
#21142: Add a filter to domain_exists() function
--------------------------------------------+------------------
Reporter: jamescollins | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 3.5
Component: Multisite | Version:
Severity: normal | Resolution:
Keywords: has-patch needs-refresh commit |
--------------------------------------------+------------------
Changes (by nacin):
* keywords: has-patch => has-patch needs-refresh commit
Comment:
Is there really no other decent filter in the stack to stop a site from
being created from site-new.php? It looks like all we do is wp_die()
anyway. Also, if wpmu_create_blog() fails, we still create the user. Seems
like the whole set of error checking should probably improve.
I'm okay with a filter here, either way. Would be nice if it could set
$result, then pass $result to the filter. Otherwise, the line gets long
and it's not easy to see what kind of context is passed to the filter.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21142#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list