diff --git a/wp-includes/version.php b/wp-includes/version.php index 835379f8aa..4cd9df1be8 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.1-beta2-30661'; +$wp_version = '4.1-beta2-30662'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. diff --git a/wp-signup.php b/wp-signup.php index c19110ee01..a519bcc0d6 100644 --- a/wp-signup.php +++ b/wp-signup.php @@ -299,13 +299,15 @@ function signup_another_blog( $blogname = '', $blog_title = '', $errors = '' ) { * * @since MU * - * @return bool True if blog signup was validated, false if error + * @return null|boolean True if blog signup was validated, false if error. + * The function halts all execution if the user is not logged in. */ function validate_another_blog_signup() { global $wpdb, $blogname, $blog_title, $errors, $domain, $path; $current_user = wp_get_current_user(); - if ( !is_user_logged_in() ) + if ( ! is_user_logged_in() ) { die(); + } $result = validate_blog_form(); diff --git a/wp-trackback.php b/wp-trackback.php index a93bab7c0e..3d211043eb 100644 --- a/wp-trackback.php +++ b/wp-trackback.php @@ -20,9 +20,9 @@ if (empty($wp)) { * * @since 0.71 * - * @param int|bool $error Whether there was an error. - * Default '0'. Accepts '0' or '1'. - * @param string $error_message Error message if an error occurred. + * @param mixed $error Whether there was an error. + * Default '0'. Accepts '0' or '1', true or false. + * @param string $error_message Error message if an error occurred. */ function trackback_response($error = 0, $error_message = '') { header('Content-Type: text/xml; charset=' . get_option('blog_charset') );