summaryrefslogtreecommitdiffstats
path: root/wp-signup.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-21 09:06:08 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2007-10-21 09:06:08 +0000
commit8fd5e5d764d7badb0b7b12b7a041524cfe0652c6 (patch)
treec8ffcafa10c41dfc805fa54d10a85ab9857f90cf /wp-signup.php
parent8135512ad4a83da15c0581fa043da040b290105a (diff)
downloadwordpress-mu-8fd5e5d764d7badb0b7b12b7a041524cfe0652c6.zip
wordpress-mu-8fd5e5d764d7badb0b7b12b7a041524cfe0652c6.tar.gz
wordpress-mu-8fd5e5d764d7badb0b7b12b7a041524cfe0652c6.tar.xz
Enable xmlrpc posting by default
User must be logged in, props Gianluca. git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@1114 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-signup.php')
-rw-r--r--wp-signup.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/wp-signup.php b/wp-signup.php
index 2b6df24..73f1e13 100644
--- a/wp-signup.php
+++ b/wp-signup.php
@@ -201,6 +201,9 @@ function signup_another_blog($blog_id = '', $blog_title = '', $errors = '') {
function validate_another_blog_signup() {
global $current_user, $blog_id, $blog_title, $errors, $domain, $path;
+ if( !is_user_logged_in() ) {
+ die();
+ }
$result = validate_blog_form();
extract($result);