[wp-trac] [WordPress Trac] #41443: Update /wp-admin/network/site-new.php to use wpmu_validate_blog_signup()
WordPress Trac
noreply at wordpress.org
Tue Jul 25 21:29:39 UTC 2017
#41443: Update /wp-admin/network/site-new.php to use wpmu_validate_blog_signup()
--------------------------------+-----------------------------
Reporter: neversettle | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Networks and Sites | Version: 4.8
Severity: normal | Keywords:
Focuses: multisite |
--------------------------------+-----------------------------
Is there a good reason that /wp-admin/network/site-new.php uses it's own
hard-coded blogname validation rules? Shouldn't it just call
wpmu_validate_blog_signup() for DRY as well as a consistent / universal
application of filters across all new site names? It seems crazy to have
two different sets of validation for the same thing. And as multisite
plugin developers we see network admins confused by the different behavior
of site-new.php and sites created through plugins which use
wpmu_validate_blog_signup().
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41443>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list