diff options
author | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:40:01 +0000 |
---|---|---|
committer | donncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36> | 2005-07-29 15:40:01 +0000 |
commit | 923f4aaf4fcf6374db5097a2ebed0d970a08f1f5 (patch) | |
tree | 9e7ec301c88478eaedb108e2e5b95bbd872b9a17 /wp-inst/wp-newblog.php | |
parent | 3e32eff632ade6aa191a9feeb475bc7d0d7cae50 (diff) | |
download | wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.tar.gz wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.tar.xz wordpress-mu-923f4aaf4fcf6374db5097a2ebed0d970a08f1f5.zip |
Customizable dashboard feeds: allow site admin to change them.
Changed *_site_settings() to *_site_option()
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@103 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-inst/wp-newblog.php')
-rw-r--r-- | wp-inst/wp-newblog.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/wp-inst/wp-newblog.php b/wp-inst/wp-newblog.php index 7bdd586..a169100 100644 --- a/wp-inst/wp-newblog.php +++ b/wp-inst/wp-newblog.php @@ -105,10 +105,10 @@ function determineDirPath() { switch( $_POST[ 'stage' ] ) { case "1": - $illegal_names = get_site_settings( "illegal_names" ); + $illegal_names = get_site_option( "illegal_names" ); if( $illegal_names == false ) { $illegal_names = array( "www", "web", "root", "admin", "main", "invite", "administrator" ); - add_site_settings( "illegal_names", $illegal_names ); + add_site_option( "illegal_names", $illegal_names ); } $newBlogID = sanitize_title($_POST['weblog_id']); @@ -165,7 +165,7 @@ switch( $_POST[ 'stage' ] ) $err = createBlog( $newBlogID.".".$domain, $scriptBaseName, $newBlogID, $weblog_title, $admin_email ); if( $err == 'ok' ) { displaySecondForm(); - $admin_email = get_site_settings( "admin_email" ); + $admin_email = get_site_option( "admin_email" ); $msg = "A new blog has been created on " . $current_site->domain . $current_site->path . "\n"; $msg .= "Address: http://" . $newBlogID . "." . $domain . $scriptBaseName . "\n"; $msg .= "Title: $weblog_title\n"; |