Make WordPress Core


Ignore:
Timestamp:
11/30/2014 09:22:07 PM (7 years ago)
Author:
wonderboymusic
Message:

Improve the @param docs for trackback_response() and validate_another_blog_signup().

See #30224.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-signup.php

    r30546 r30662  
    300300 * @since MU
    301301 *
    302  * @return bool True if blog signup was validated, false if error
     302 * @return null|boolean True if blog signup was validated, false if error.
     303 *                      The function halts all execution if the user is not logged in.
    303304 */
    304305function validate_another_blog_signup() {
    305306    global $wpdb, $blogname, $blog_title, $errors, $domain, $path;
    306307    $current_user = wp_get_current_user();
    307     if ( !is_user_logged_in() )
     308    if ( ! is_user_logged_in() ) {
    308309        die();
     310    }
    309311
    310312    $result = validate_blog_form();
Note: See TracChangeset for help on using the changeset viewer.