[wp-trac] [WordPress Trac] #21142: Add a filter to domain_exists() function

WordPress Trac wp-trac at lists.automattic.com
Wed Jul 4 22:52:16 UTC 2012


#21142: Add a filter to domain_exists() function
-----------------------------------------+------------------------------
 Reporter:  jamescollins                 |       Owner:
     Type:  enhancement                  |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Multisite                    |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |
-----------------------------------------+------------------------------

Comment (by jamescollins):

 I think the 'wpmu_validate_blog_signup ' filter would be ok for when
 people create blogs via wp-signup.php, but that filter doesn't fire when a
 super admin creates a site via the network admin dashboard screen.

 The description of the domain_exists() function is:

 > Check whether a blogname is already taken
 > Used during the new site registration process to ensure that each
 blogname is unique.

 So I think the domain_exists() function is a much more semantically
 correct place to check if the specified domain name has been used.

 Thanks

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


More information about the wp-trac mailing list