diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-12 15:09:26 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2006-09-12 15:09:26 +0000 |
commit | 7a2ba28084eb8b23f9109473d7c57f14c3a059a2 (patch) | |
tree | 141f246e4f37fa2ad1fc29e0c354a882529f706e /wp-admin/wpmu-edit.php | |
parent | f6a528fcff7ee7687fcbe7876f140d46648fbb41 (diff) | |
download | wordpress-mu-7a2ba28084eb8b23f9109473d7c57f14c3a059a2.tar.gz wordpress-mu-7a2ba28084eb8b23f9109473d7c57f14c3a059a2.tar.xz wordpress-mu-7a2ba28084eb8b23f9109473d7c57f14c3a059a2.zip |
Added site option "admin_email" and use that for registration and other emails (fixed #113)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@742 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/wpmu-edit.php')
-rw-r--r-- | wp-admin/wpmu-edit.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wp-admin/wpmu-edit.php b/wp-admin/wpmu-edit.php index 75cf095..4741691 100644 --- a/wp-admin/wpmu-edit.php +++ b/wp-admin/wpmu-edit.php @@ -15,6 +15,8 @@ switch( $_REQUEST[ 'action' ] ) { check_admin_referer('siteoptions'); update_site_option( "WPLANG", $_POST[ 'WPLANG' ] ); + if( is_email( $_POST[ 'admin_email' ] ) ) + update_site_option( "admin_email", $_POST[ 'admin_email' ] ); update_site_option( "illegal_names", split( ' ', $_POST[ 'illegal_names' ] ) ); if( $_POST[ 'limited_email_domains' ] != '' ) { update_site_option( "limited_email_domains", split( ' ', $_POST[ 'limited_email_domains' ] ) ); |