summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-04 15:07:51 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-04 15:07:51 +0000
commit3cc1e1170928773f76aad938f37fd07539206c05 (patch)
tree74fc054011f662fc06d1f1b9d106813f1aca1451 /wp-admin/wpmu-edit.php
parentf4b9932ffd83269edcd5270b20f4a2aa3f692304 (diff)
downloadwordpress-mu-3cc1e1170928773f76aad938f37fd07539206c05.tar.gz
wordpress-mu-3cc1e1170928773f76aad938f37fd07539206c05.tar.xz
wordpress-mu-3cc1e1170928773f76aad938f37fd07539206c05.zip
Add registration disable/enable radio controls to wpmu-options page
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1062 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r--wp-admin/wpmu-edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index 16d43eb..5765f75 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -24,6 +24,7 @@ switch( $_REQUEST[ 'action' ] ) {
$names[] = trim( $name );
}
update_site_option( "illegal_names", $names );
+ update_site_option( "registration", $wpdb->escape( $_POST[ 'registration' ] ) );
if( $_POST[ 'limited_email_domains' ] != '' ) {
update_site_option( "limited_email_domains", split( ' ', $_POST[ 'limited_email_domains' ] ) );
} else {