summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r--wp-admin/wpmu-edit.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php
index 777fd16..ae9c73d 100644
--- a/wp-admin/wpmu-edit.php
+++ b/wp-admin/wpmu-edit.php
@@ -36,7 +36,6 @@ switch( $_GET['action'] ) {
update_site_option( "illegal_names", $names );
update_site_option( "registration", $_POST['registration'] );
- update_site_option( "xmlrpc_active", $_POST[ 'xmlrpc_active' ] );
update_site_option( "registrationnotification", $_POST['registrationnotification'] );
if( $_POST['limited_email_domains'] != '' ) {
@@ -77,6 +76,9 @@ switch( $_GET['action'] ) {
update_site_option( 'site_admins' , $site_admins );
}
+ // Update more options here
+ do_action( 'update_wpmu_options' );
+
wp_redirect( add_query_arg( "updated", "true", $_SERVER['HTTP_REFERER'] ) );
exit();
break;