summaryrefslogtreecommitdiffstats
path: root/wp-admin/wpmu-edit.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-26 11:09:56 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-26 11:09:56 +0000
commit5c276aac16e4d4c7ba2d711dfa20c15f83d8f331 (patch)
tree299fa70f1fa272d58a846fcc6e54dfc0ef48ac25 /wp-admin/wpmu-edit.php
parentec1ca88f24a92d2a4e3c70f3abc28d0b919f7a06 (diff)
downloadwordpress-mu-5c276aac16e4d4c7ba2d711dfa20c15f83d8f331.tar.gz
wordpress-mu-5c276aac16e4d4c7ba2d711dfa20c15f83d8f331.tar.xz
wordpress-mu-5c276aac16e4d4c7ba2d711dfa20c15f83d8f331.zip
Remove "disable xml-rpc" feature, it's going in a plugin.
Added wpmu_options and update_wpmu_options hooks to add options to wpmu-options.php git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1132 7be80a69-a1ef-0310-a953-fb0f7c49ff36
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;